C++ Actor Framework 1.0.0
Loading...
Searching...
No Matches
caf::event_based_delayed_response_handle<... > Class Template Reference

Similar to event_based_response_handle, but also holds the disposable for the delayed request message. More...

#include <event_based_response_handle.hpp>

Public Types

using decorated_type = event_based_response_handle<Results...>
 

Public Member Functions

 event_based_delayed_response_handle (abstract_scheduled_actor *self, message_id mid, disposable pending_timeout, disposable pending_request)
 
template<class OnValue , class OnError >
disposable await (OnValue on_value, OnError on_error) &&
 
template<class OnValue >
disposable await (OnValue on_value) &&
 
template<class OnValue , class OnError >
disposable then (OnValue on_value, OnError on_error) &&
 
template<class OnValue >
disposable then (OnValue on_value) &&
 
auto as_observable () &&
 

Public Attributes

decorated_type decorated
 The wrapped handle type.
 
disposable pending_request
 Stores a handle to the in-flight request if the request messages was delayed/scheduled.
 

Detailed Description

template<class...>
class caf::event_based_delayed_response_handle<... >

Similar to event_based_response_handle, but also holds the disposable for the delayed request message.

Member Function Documentation

◆ await() [1/2]

template<class... >
template<class OnValue >
disposable caf::event_based_delayed_response_handle<... >::await ( OnValue on_value) &&

◆ await() [2/2]

template<class... >
template<class OnValue , class OnError >
disposable caf::event_based_delayed_response_handle<... >::await ( OnValue on_value,
OnError on_error ) &&

◆ then() [1/2]

template<class... >
template<class OnValue >
disposable caf::event_based_delayed_response_handle<... >::then ( OnValue on_value) &&

◆ then() [2/2]

template<class... >
template<class OnValue , class OnError >
disposable caf::event_based_delayed_response_handle<... >::then ( OnValue on_value,
OnError on_error ) &&


The documentation for this class was generated from the following files: