Base promise type for coroutines. More...
#include <corochain.hpp>
Public Member Functions | |
std::suspend_never | initial_suspend () |
TFinalAwaiter< T > | final_suspend () noexcept |
Public Attributes | |
std::coroutine_handle | Caller = std::noop_coroutine() |
Handle to the caller coroutine (initialized to a no-operation coroutine). | |
Base promise type for coroutines.
Provides the initial and final suspension behavior and stores the caller coroutine's handle.
T | The type of the coroutine's return value. |