wasm-timer 0.1.0

Abstraction over std::time::Instant and tokio_timer that works on WASM
Documentation
1
2
3
4
5
6
# Wasm-timer

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` to implement their functionalities.