|
bool | is_ready () const |
|
bool | fulfill (T &&value) |
| fulfill More...
|
|
T & | value () const |
|
template<typename Func > |
auto | then (Func &&func) -> Promise< typename promise_impl::func_traits< typename std::decay< Func >::type >::result_type > |
|
bool | is_initialized () const |
|
|
template<typename Func > |
Promise< typename std::result_of< Func()>::type > | cr_async (Func func) |
|
◆ fulfill()
fulfill
- Parameters
-
- Returns
- returns true if the promise is successfully fulfilled, or false if it was already filfulled or could not be.
The documentation for this class was generated from the following file: