Radio and PodcastRadio and PodcastLive Radio & Podcasts
Synchronous vs Asynchronous Programming in Salesforce artwork
Education

Synchronous vs Asynchronous Programming in Salesforce

Salesforce Casts Podcast by Salesforce Casts Podcast

Nov 22, 201800:07:48Education

In this episode let’s look into what’s Synchronous and Asynchronous Programming and how do we do it Salesforce platform. Synchronous Programming In Synchronous programming statements will be executed one after the other....

About This Episode

Synchronous vs Asynchronous Programming in Salesforce is an episode from Salesforce Casts Podcast by Salesforce Casts Podcast. In this episode let’s look into what’s Synchronous and Asynchronous Programming and how do we do it Salesforce pl...

Podcast

This episode belongs to Salesforce Casts Podcast.

Listen Online

Use the player on this page to stream the episode online.

Episode Details

Published Nov 22, 2018, 00:07:48 long, audio available.

Questions About This Episode

What is Synchronous vs Asynchronous Programming in Salesforce about?

In this episode let’s look into what’s Synchronous and Asynchronous Programming and how do we do it Salesforce platform. Synchronous Programming In Synchronous programming statements will be executed one after the other. Say, we have 10 lines of code, then each and every line will be execute one after the other. So first line has to be executed it's only then the execution jumps to the second line. Likewise, second line has to be executed, only after that execution jumps on to the third line, so one and so forth. So, If our first statement is dealing with fetching list of Account records, until we get the data, execution will not jump on to the next line. Asynchronous Programming Asynchronous Programming is a methodology in which statements will not be executed one after the other. let’s say we have 10 lines of code and one of the statements in these 10 lines is a setTimeout() statement and lets go with the assumption that we want it to get executed after 10 secs. Then the execution comes to this setTimeOut statement and the moment the execution hits this statement, we are telling the computer I want to run this function but I don’t want to do it at least for a 10000 milliseconds in the future. So once 10 seconds from now gets passed that’s when I want this statement to get executed. Often we use this format of coding when we want to get data from other systems or when we make AJAX calls and etc. So we make the call and the thread doesn’t know when the response is going to comeback. This is Asynchronous Programming. We also discussed about other things in this episode. Please check it out. × × × SIIIICK ××× PIIIICKS × × × A concept inspired from wesbos Echo (2nd Generation) - Smart speaker Ring Wi-Fi Enabled Video Doorbell

Where can I listen to Synchronous vs Asynchronous Programming in Salesforce?

You can listen to Synchronous vs Asynchronous Programming in Salesforce online on Radio and Podcast. Open the player on this page to stream the available audio.

Which podcast is Synchronous vs Asynchronous Programming in Salesforce from?

Synchronous vs Asynchronous Programming in Salesforce is an episode from Salesforce Casts Podcast by Salesforce Casts Podcast.

How long is this episode?

This episode is 00:07:48 long.

When was this episode published?

This episode was published on Nov 22, 2018.

Can I save Synchronous vs Asynchronous Programming in Salesforce for later?

Yes. Use the heart button on the episode page to add it to your favorite episodes list.

Are there related episodes from Salesforce Casts Podcast?

Yes. This page shows related episodes from Salesforce Casts Podcast when more episodes are available from the podcast feed.

Quick Answers About This Episode

Where can I listen to Synchronous vs Asynchronous Programming in Salesforce?

You can listen to Synchronous vs Asynchronous Programming in Salesforce on this page when the episode audio is available from the podcast feed.

Which podcast is this episode from?

Synchronous vs Asynchronous Programming in Salesforce is from Salesforce Casts Podcast by Salesforce Casts Podcast.

What are the episode details?

Published Nov 22, 2018 and 00:07:48 long