Skip to main content

Asynchronous initialization

Asynchronous initialization prepares a resource without blocking the program until the work completes.

For example, opening a database connection may return a promise. Callers must wait for that promise before sending a query. See also promise.

Share: