futures/promise.hpp
Promises.
#include <futures/promise.hpp>
Namespaces
| Name | Description |
|---|---|
| futures | Main library namespace. |
Classes
| Classes | Description |
|---|---|
| promise_base | Common members to promises of all types. (class) |
| promise | A shared state that will later be acquired by a future type. (class) |
Description
This file defines promises we can use to represent the completion of a task through a promise. These objects can be used to finalize an asynchnous task manually.
Updated on 2023-01-04