Portable concurrency
0.11.0
|
The class template promise is a simpliest write end of a future. More...
Public Member Functions | |
bool | is_awaiten () const |
The class template promise is a simpliest write end of a future.
|
inline |
Checks if there is a future or shared_future awaiting for the result from this promise object. This method returns false
only if there is absolutelly no way to get a future or shared_future object which can be used to retreive a value or exception set by this promise object.