Exports the Instant
, Delay
, Interval
and Timeout
structs.
On non-WASM targets, this re-exports the types from tokio-timer
.
On WASM targets, this uses web-sys
and js-sys
to implement their functionalities.
Works in Web Workers.
Abstraction over std::time::Instant and tokio_timer that works on WASM.
Exports the Instant
, Delay
, Interval
and Timeout
structs.
On non-WASM targets, this re-exports the types from tokio-timer
.
On WASM targets, this uses web-sys
and js-sys
to implement their functionalities.
Works in Web Workers.
Abstraction over std::time::Instant and tokio_timer that works on WASM.
https://docs.rs/zduny-wasm-timer/
MIT License