About

Asynchronous programming is notoriously difficult because the order of operations is highly unpredictable.

Type

Synchronous

The application thread waits while the server (such as IO device) performs a request and returns a status code when the request is complete.

Asynchronous

Asynchronous allows an application to issue multiple requests and continue executing while the server performs the request.

Management

Retrieve computation

The result of an asynchronous computation is called a future.