wasm-timer 0.2.5

Abstraction over std::time::Instant and futures-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.