Coroutine promise implementation used by AwaitTask.
More...
#include <Await.h>
|
|
template<typename First , typename... Rest> |
| | Promise (First &first, Rest &... rest) |
| |
|
AwaitTask | get_return_object () |
| |
|
AwaitSuspendAlways | initial_suspend () noexcept |
| |
|
FinalSuspend | final_suspend () noexcept |
| |
|
void | return_value (Result newResult) noexcept |
| |
|
void | unhandled_exception () noexcept |
| |
|
|
static AwaitEventLoop * | findEventLoop () |
| |
|
static AwaitEventLoop * | findEventLoop (AwaitEventLoop &await) |
| |
|
template<typename First , typename... Rest> |
| static AwaitEventLoop * | findEventLoop (First &, Rest &... rest) |
| |
|
static void * | allocateFrame (size_t size, AwaitEventLoop *eventLoop) noexcept |
| |
|
static void | deallocateFrame (void *frame) noexcept |
| |
|
static void * | operator new (size_t size) noexcept |
| |
|
template<typename First , typename... Rest> |
| static void * | operator new (size_t size, First &first, Rest &... rest) noexcept |
| |
|
static void | operator delete (void *frame, size_t) noexcept |
| |
|
static AwaitTask | get_return_object_on_allocation_failure () |
| |
|
|
Result | taskResult |
| |
|
AwaitTask::Handle | continuation |
| |
|
AwaitTask::Handle | deferredDestroyNext |
| |
|
AwaitCancellationHandler | cancellation |
| |
|
AwaitEventLoop * | eventLoop |
| |
|
void * | completionObject |
| |
|
void(* | completionCallback )(void *object) |
| |
|
bool | started |
| |
|
bool | completed |
| |
|
bool | cancellationRequested |
| |
|
bool | inCompletionCallback |
| |
|
bool | destroyDeferred |
| |
Coroutine promise implementation used by AwaitTask.
The documentation for this struct was generated from the following file: