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

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_typedecorated ()
 Returns the decorated handle.
 
const decorated_typedecorated () const
 Returns the decorated handle.
 
disposablepending_request ()
 Returns the handle to the in-flight request message if the request was delayed/scheduled.
 
const disposablepending_request () const
 Returns the handle to the in-flight request message if the request was delayed/scheduled.
 

Detailed Description

template<class...>
class caf::blocking_delayed_response_handle<... >

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

Member Function Documentation

◆ decorated()

template<class... >
const decorated_type & caf::blocking_delayed_response_handle<... >::decorated ( ) const

Returns the decorated handle.

◆ pending_request() [1/2]

template<class... >
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.

◆ pending_request() [2/2]

template<class... >
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.


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