D++ (DPP)
C++ Discord API Bot Library
dpp::detail::async Namespace Reference

Classes

class  async_base
 Base class of dpp::async. More...
 
struct  async_callback_data
 State of the async and its callback. More...
 

Enumerations

enum  state_t { state_t::sent, state_t::waiting, state_t::done, state_t::dangling }
 Represents the step an std::async is at. More...
 

Enumeration Type Documentation

◆ state_t

Represents the step an std::async is at.

Enumerator
sent 

Request was sent but not co_await-ed. handle is nullptr, result_storage is not constructed.

waiting 

Request was co_await-ed. handle is valid, result_storage is not constructed.

done 

Request was completed. handle is unknown, result_storage is valid.

dangling 

Request was never co_await-ed.

D++ Library version 9.0.13D++ Library version 9.0.12D++ Library version 9.0.11D++ Library version 9.0.10D++ Library version 9.0.9D++ Library version 9.0.8D++ Library version 9.0.7D++ Library version 9.0.6D++ Library version 9.0.5D++ Library version 9.0.4D++ Library version 9.0.3D++ Library version 9.0.2D++ Library version 9.0.1D++ Library version 9.0.0D++ Library version 1.0.2D++ Library version 1.0.1D++ Library version 1.0.0