Module time

Source
Expand description

Listen and react to time.

Structs§

Duration
A Duration type to represent a span of time, typically used for system timeouts.
Instant
A measurement of a monotonically nondecreasing clock. Opaque and useful only with Duration.

Functions§

every
Returns a Subscription that produces messages at a set interval.