Expand description
Interact with the timer runtime module.
The timer:distro:sys
module is public, so no special capabilities needed.
Enums§
- Timer
Action - The
Request::body()
field for requests totimer:distro:sys
, a runtime module that allows processes to set timers with a duration specified in milliseconds.
Functions§
- set_
and_ await_ timer - Set a timer using the runtime that will return a
crate::Response
after the specified duration, then wait for that timer to resolve. The duration should be a number of milliseconds. - set_
timer - Set a timer using the runtime that will return a
crate::Response
after the specified duration. The duration should be a number of milliseconds.