D++ (DPP)  10.0.30
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. 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.