Discord.C++ 0.13.0
Loading...
Searching...
No Matches
DiscordCPP::Future< Value > Class Template Reference

#include <Future.h>

Public Member Functions

 Future ()
 
void set (Value value)
 
void set_exception (std::exception_ptr e)
 
Value get ()
 
void wait ()
 
void set_continuation (const std::function< void(std::shared_future< Value >)> &func)
 

Constructor & Destructor Documentation

◆ Future()

template<typename Value >
DiscordCPP::Future< Value >::Future ( )
inline

Member Function Documentation

◆ get()

template<typename Value >
Value DiscordCPP::Future< Value >::get ( )
inline

◆ set()

template<typename Value >
void DiscordCPP::Future< Value >::set ( Value value)
inline

◆ set_continuation()

template<typename Value >
void DiscordCPP::Future< Value >::set_continuation ( const std::function< void(std::shared_future< Value >)> & func)
inline

◆ set_exception()

template<typename Value >
void DiscordCPP::Future< Value >::set_exception ( std::exception_ptr e)
inline

◆ wait()

template<typename Value >
void DiscordCPP::Future< Value >::wait ( )
inline

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