Module time

Source
Available on non-WebAssembly and crate feature tokio only.
Expand description

Listen and react to time.

Functionsยง

every
Returns a Subscription that produces messages at a set interval.
repeat
Returns a Subscription that runs the given async function at a set interval; producing the result of the function as output.