Skip to content

Latest commit

 

History

History
executable file
·
12 lines (9 loc) · 1.07 KB

calling-services-asynchronously.md

File metadata and controls

executable file
·
12 lines (9 loc) · 1.07 KB

Calling Services Asychronously

All requests made through the SDK are asynchronous. This is important to keep in mind when writing browser scripts. JavaScript running in a web browser typically has just a single execution thread. After making an asynchronous call to an AWS service, the browser script continues running and in the process can try to execute code that depends on that asynchronous result before it returns.

Making asynchronous calls to an AWS service includes managing those calls so your code doesn't try to use data before the data is available. The topics in this section explain the need to manage asynchronous calls and detail different techniques you can use to manage them.

Topics