Module timer
Source - ApiTimerHandle
- TimerApi
Lifecycle timer api façade for macro-expanded entrypoints.
- clear_lifecycle_timer
- Optional cancellation.
- set_guarded
- Schedule a one-shot timer only if the slot is empty.
Returns true when a new timer was scheduled.
- set_guarded_interval
- Schedule a guarded init timer that installs a repeating interval timer.
- set_interval
- Schedule a repeating timer. Task produces a fresh Future on each tick.
- set_lifecycle_timer
- Public, stable surface for macro-expanded code in downstream crates.
Performs no logic; delegates to internal TimerOps.
- TimerSlot
- TimerSlot
Opaque timer slot handle for guarded scheduling.