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

Internal cogwheels for dpp::event_router_t. More...

Classes

class  awaitable
 Awaitable object representing an event. A user can co_await on this object to resume the next time the event is fired, optionally with a condition. More...
 

Enumerations

enum  awaiter_state { awaiter_state::none, awaiter_state::waiting, awaiter_state::resuming, awaiter_state::cancelling }
 State of an owner of an event_router::awaitable. More...
 

Detailed Description

Internal cogwheels for dpp::event_router_t.

Enumeration Type Documentation

◆ awaiter_state

State of an owner of an event_router::awaitable.

Enumerator
none 

Awaitable is not being awaited.

waiting 

Awaitable is being awaited.

resuming 

Awaitable will be resumed imminently.

cancelling 

Awaitable will be cancelled imminently.

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