C++ Actor Framework 1.0.0
|
Provides an interface for accessing the result of an asynchronous computation on an asynchronous execution_context. More...
#include <future.hpp>
Public Member Functions | |
bound_future (bound_future &&) noexcept=default | |
bound_future (const bound_future &) noexcept=default | |
bound_future & | operator= (bound_future &&) noexcept=default |
bound_future & | operator= (const bound_future &) noexcept=default |
template<class OnSuccess , class OnError > | |
disposable | then (OnSuccess on_success, OnError on_error) |
Retrieves the result at some point in the future and then calls either on_success if the asynchronous operation generated a result or on_error if the asynchronous operation resulted in an error. | |
Friends | |
class | future< T > |
Provides an interface for accessing the result of an asynchronous computation on an asynchronous execution_context.