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

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_futureoperator= (bound_future &&) noexcept=default
 
bound_futureoperator= (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 >
 

Detailed Description

template<class T>
class caf::async::bound_future< T >

Provides an interface for accessing the result of an asynchronous computation on an asynchronous execution_context.


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