|
Task< void > | get_return_object () |
| Create the Task<void> object for this promise.
|
|
std::suspend_always | initial_suspend () noexcept |
| Initial suspend behavior - always suspend to allow manual start.
|
|
auto | final_suspend () noexcept |
| Final suspend behavior with continuation chaining.
|
|
void | return_void () |
| Handle void return from coroutine.
|
|
void | unhandled_exception () |
| Handle unhandled exceptions in the coroutine.
|
|
void | getResult () |
| Check for exceptions (void tasks have no return value)
|
|
bool | isReady () const noexcept |
| Check if the task has completed.
|
|
void | addContinuation (std::coroutine_handle<> continuation) |
| Add a continuation to be resumed when task completes.
|
|
Specialized promise for void-returning coroutines.
This specialization handles coroutines that don't return a value, using co_return; or implicit return at the end of the coroutine.
Definition at line 172 of file Task.h.