|
ORIGINAL
|
Specialization of promise for void results. More...
#include <async.h>

Public Member Functions | |
| promise (Callback &&c) | |
| Constructs a promise with a computation callback. | |
| future< void > | getFuture () const |
| Gets the future associated with this promise. | |
| void | run () |
| Executes the computation and marks completion. | |
Specialization of promise for void results.
| Callback | The type of the computation callback |
|
explicit |
Constructs a promise with a computation callback.
| c | Callback that will execute the computation |
| original::async::future< void > original::async::promise< void, Callback >::getFuture | ( | ) | const |
Gets the future associated with this promise.