Asynchronous calls
REST calls made to Cloud API are typically synchronous. The caller application submits a call and then waits for the reply. However, for some types of calls, waiting for a reply may be problematic. For example:
- The call may take long enough to process that the API Gateway times out.
- The call may take long enough to process that the client-side toolkit used to make the call times out.
- A synchronous call may consume too many client-side resources.
To address these situations, calls can also be made asynchronously. The caller application submits the request at one point in time. At a later point in time, the caller application retrieves the response.
This topic discusses how to execute Cloud API calls asynchronously.
If you want to interact directly with the concepts in this topic, go to the following tutorials: