|
using | Callback = std::function< void(const Try< T > &)> |
|
|
| Deffered (const Deffered &)=delete |
|
| Deffered (Deffered &&)=delete |
|
void | setResult (const Try< T > &result) |
|
void | setValue (const T &value) |
|
void | setError (const Exception &exception) |
|
void | addCallback (Callback callback, std::shared_ptr< api::ExecutionContext > context) |
|
Option< Try< T > > | getValue () const |
|
bool | hasValue () const |
|
void | trigger () |
|
|
class | Future< T > |
|
class | Promise< T > |
|
The documentation for this class was generated from the following file: