|
| bool | await_ready () const noexcept |
| | Report that the immediate value never suspends.
|
| |
| T | await_resume () &&noexcept |
| | Move the value when the awaiter itself is consumed.
|
| |
| T const & | await_resume () const &noexcept |
| | Return a borrowed reference when the awaiter is retained.
|
| |
| void | await_suspend (BasicTask) const noexcept |
| | No-op suspension hook required by the awaiter protocol.
|
| |
| void | release () const noexcept |
| | Match the read-buffer release surface without owning an epoch.
|
| |
template<typename T>
struct uni20::async::ValueAwaiter< T >
Always-ready awaitable owning an immediate operation value.
This gives immediate values the read-buffer shape expected by async kernels. The value is copied or moved into the coroutine and release() is a no-op.