Utilities for tracking time.
Interval returned by interval
interval
A Duration type to represent a span of time.
A Seconds type to represent a span of time in seconds.
Future returned by sleep.
sleep
Future returned by timeout.
timeout
Creates new Interval that yields with interval of period.
Interval
period
Returns an instant corresponding to “now”.
Waits until duration has elapsed.
duration
Returns the system time corresponding to “now”.
Require a Future to complete before the specified duration has elapsed.
Future