C++ Actor Framework 1.0.0
|
Similar to blocking_response_handle
, but also holds the disposable
for the delayed request message.
More...
#include <blocking_response_handle.hpp>
Public Types | |
using | decorated_type = blocking_response_handle<Results...> |
Public Member Functions | |
blocking_delayed_response_handle (abstract_blocking_actor *self, message_id mid, timespan timeout, disposable pending_request) | |
template<class OnValue , class OnError > | |
void | receive (OnValue on_value, OnError on_error) && |
auto | receive () && |
decorated_type & | decorated () |
Returns the decorated handle. | |
const decorated_type & | decorated () const |
Returns the decorated handle. | |
disposable & | pending_request () |
Returns the handle to the in-flight request message if the request was delayed/scheduled. | |
const disposable & | pending_request () const |
Returns the handle to the in-flight request message if the request was delayed/scheduled. | |
Similar to blocking_response_handle
, but also holds the disposable
for the delayed request message.
const decorated_type & caf::blocking_delayed_response_handle<... >::decorated | ( | ) | const |
Returns the decorated handle.
disposable & caf::blocking_delayed_response_handle<... >::pending_request | ( | ) |
Returns the handle to the in-flight request message if the request was delayed/scheduled.
Otherwise, returns an empty handle.
const disposable & caf::blocking_delayed_response_handle<... >::pending_request | ( | ) | const |
Returns the handle to the in-flight request message if the request was delayed/scheduled.
Otherwise, returns an empty handle.