![]() |
D++ (DPP)
C++ Discord API Bot Library
|
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 class | awaiter_state { none , waiting , resuming , cancelling } |
| State of an owner of an event_router::awaitable. More... | |
Internal cogwheels for dpp::event_router_t.
|
strong |
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. |