Promise specialization for coroutines that return void. More...
#include <corochain.hpp>
Public Member Functions | |
TFuture< void > | get_return_object () |
void | return_void () |
void | unhandled_exception () |
TFuture< void > | get_return_object () |
void | return_value (const void &t) |
void | return_value (void &&t) |
void | unhandled_exception () |
![]() | |
std::suspend_never | initial_suspend () |
TFinalAwaiter< void > | final_suspend () noexcept |
Public Attributes | |
std::optional< std::exception_ptr > | ErrorOr |
std::optional< std::variant< void, std::exception_ptr > > | ErrorOr |
Optional container that holds either the result or an exception. | |
![]() | |
std::coroutine_handle | Caller |
Handle to the caller coroutine (initialized to a no-operation coroutine). | |
Promise specialization for coroutines that return void.