Futures and Promises
Futures and promises provide a mechanism for asynchronous computation: one thread computes a value and another retrieves it later.
Futures and promises provide a mechanism for asynchronous computation: one thread computes a value and another retrieves it later.