|
C++ Actor Framework 0.18
|
Trivial policy for handling a single result in a response_handler.
More...
#include <single_response.hpp>
Public Types | |
| using | response_type = ResponseType |
| template<class Fun > | |
| using | type_checker = detail::type_checker< response_type, Fun > |
Public Member Functions | |
| single_response (message_id mid, disposable pending_timeout) noexcept | |
| single_response (single_response &&) noexcept=default | |
| single_response & | operator= (single_response &&) noexcept=default |
| template<class Self , class F , class OnError > | |
| void | await (Self *self, F &&f, OnError &&g) |
| template<class Self , class F , class OnError > | |
| void | then (Self *self, F &&f, OnError &&g) |
| template<class Self , class F , class OnError > | |
| void | receive (Self *self, F &&f, OnError &&g) |
| message_id | id () const noexcept |
| disposable | pending_timeouts () |
Static Public Attributes | |
| static constexpr bool | is_trivial = true |
Trivial policy for handling a single result in a response_handler.