|
Container System 0.1.0
High-performance C++20 type-safe container framework with SIMD-accelerated serialization
|
Awaitable interface. More...
#include <task.h>

Public Member Functions | |
| bool | await_ready () const noexcept |
| Check if the coroutine is already done. | |
| std::coroutine_handle | await_suspend (std::coroutine_handle<> awaiting) noexcept |
| Suspend and set continuation. | |
| decltype(auto) | await_resume () |
| Get the result when resumed. | |
Public Attributes | |
| handle_type | handle_ |
Awaitable interface.
|
inlinenodiscardnoexcept |
Check if the coroutine is already done.
Definition at line 316 of file task.h.
References kcenon::container::async::task< T >::awaiter::handle_.
|
inlinenodiscard |
Get the result when resumed.
Definition at line 334 of file task.h.
References kcenon::container::async::task< T >::awaiter::handle_.
|
inlinenoexcept |
Suspend and set continuation.
Definition at line 324 of file task.h.
References kcenon::container::async::task< T >::awaiter::handle_.
| handle_type kcenon::container::async::task< T >::awaiter::handle_ |
Definition at line 311 of file task.h.
Referenced by kcenon::container::async::task< T >::awaiter::await_ready(), kcenon::container::async::task< T >::awaiter::await_resume(), and kcenon::container::async::task< T >::awaiter::await_suspend().