|
tin
1.5.9
|
#include <coroutine.h>

Public Member Functions | |
| bool | await_ready () const noexcept |
| void | await_suspend (task::handle_type handle) const noexcept |
| void | await_cancel (task_context &context) const noexcept |
| void | await_resume () const noexcept |
Public Attributes | |
| tsm::tick_rep | ticks {} |
Awaitable returned by timeout_ticks.
This is a semantic timer source for select: it becomes ready when the task is woken by the scheduler timer queue. It does not read a platform clock. A task can race an event wait against a bounded explicit-tick timeout while keeping cancellation local to the losing awaitable branch.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
| tsm::tick_rep tsm::timeout_ticks_awaitable::ticks {} |