Awaiter type for awaiting the result of a task.
Collaboration diagram for task< T, Allocator >::awaiter:Public Member Functions | |
| bool | await_ready () const noexcept |
| Returns true if the task's coroutine is already done (suspended at its final suspension point). More... | |
| std::coroutine_handle | await_suspend (std::coroutine_handle<> h) const noexcept |
| Set the current coroutine as this task's continuation, and then resume this task's coroutine. More... | |
| decltype(auto) | await_resume () const |
| Return the value of the task's promise. More... | |
Public Attributes | |
| promise_type & | promise |
| Reference to the promise object of the task in question. More... | |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
| promise_type& promise |