D++ (DPP)
C++ Discord API Bot Library
|
Coroutine promise type for a job. More...
Public Member Functions | |
std_coroutine::suspend_never | final_suspend () const noexcept |
Function called when the job is done. More... | |
std_coroutine::suspend_never | initial_suspend () const noexcept |
Function called when the job is started. More... | |
dpp::job | get_return_object () const noexcept |
Function called to get the job object. More... | |
void | unhandled_exception () const |
Function called when an exception is thrown and not caught. More... | |
void | return_void () const noexcept |
Function called when the job returns. Does nothing. More... | |
Coroutine promise type for a job.
|
inlinenoexcept |
Function called when the job is done.
|
inlinenoexcept |
Function called to get the job object.
|
inlinenoexcept |
Function called when the job is started.
|
inlinenoexcept |
Function called when the job returns. Does nothing.
|
inline |
Function called when an exception is thrown and not caught.
Immediately | rethrows the exception to the caller / resumer |