D++ (DPP)
C++ Discord API Bot Library
|
Coroutine promise type for a job. More...
#include <job.h>
Public Member Functions | |
std_coroutine::suspend_never | final_suspend () const noexcept |
std_coroutine::suspend_never | initial_suspend () const noexcept |
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 |
|
inlinenoexcept |
Function called to get the job object.
|
inlinenoexcept |
|
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 |