|
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 {} |
One-shot sleep awaitable driven by explicit scheduler ticks.
This awaitable is the coroutine-facing side of the bounded timer queue. It does not read clocks or convert wall time. Platform code, tests, or replay code advance the executor with elapsed tick counts; when the scheduled tick is due, the task is made ready again.
Use tsm::sleep_ticks(...) or tsm::after_ticks(...) to create it.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
| tsm::tick_rep tsm::sleep_ticks_awaitable::ticks {} |