[][src]Crate wasm_timer

Modules

clock

A configurable source of time.

delay_queue

A queue of delayed elements.

throttle

Slow down a stream by enforcing a delay between items.

timeout

Allows a future or stream to execute for a maximum amount of time.

timer

Timer implementation.

Structs

Delay

A future that completes at a specified instant in time.

Error

Errors encountered by the timer implementation.

Instant

A measurement of a monotonically nondecreasing clock. Opaque and useful only with Duration.

Interval

A stream representing notifications at fixed interval

Functions

sleep

Create a Future that completes in duration from now.