D++ (DPP)  10.0.30
C++ Discord API Bot Library
anonymous_namespace{coro.cpp}::simple_awaitable Struct Reference
Collaboration diagram for anonymous_namespace{coro.cpp}::simple_awaitable:

Public Member Functions

bool await_ready () const noexcept
 
int await_resume () const noexcept
 
template<typename T >
void await_suspend (std_coroutine::coroutine_handle< T > handle)
 

Public Attributes

int result {}
 
test_ttest_for
 
volatile int value {}
 

Member Function Documentation

◆ await_ready()

bool anonymous_namespace{coro.cpp}::simple_awaitable::await_ready ( ) const
inlinenoexcept

◆ await_resume()

int anonymous_namespace{coro.cpp}::simple_awaitable::await_resume ( ) const
inlinenoexcept

◆ await_suspend()

template<typename T >
void anonymous_namespace{coro.cpp}::simple_awaitable::await_suspend ( std_coroutine::coroutine_handle< T >  handle)
inline

References set_status(), dpp::unicode_emoji::thread, and ts_failed.

Here is the call graph for this function:

Member Data Documentation

◆ result

int anonymous_namespace{coro.cpp}::simple_awaitable::result {}

◆ test_for

test_t& anonymous_namespace{coro.cpp}::simple_awaitable::test_for

◆ value

volatile int anonymous_namespace{coro.cpp}::simple_awaitable::value {}

The documentation for this struct was generated from the following file: