D++ (DPP)
C++ Discord API Bot Library
|
Shared state of the async and its callback, to be used across threads. More...
Public Member Functions | |
void | operator() (const R &v) const |
void | operator() (R &&v) const |
Public Attributes | |
std::shared_ptr< basic_promise< R > > | promise {nullptr} |
Shared state of the async and its callback, to be used across threads.
|
inline |
|
inline |
std::shared_ptr<basic_promise<R> > dpp::detail::async::callback< R >::promise {nullptr} |