Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tomaka/wasm-timer

Abstraction over std::time::Instant and tokio_timer that works on WASM
https://github.com/tomaka/wasm-timer

Last synced: 6 days ago
JSON representation

Abstraction over std::time::Instant and tokio_timer that works on WASM

Awesome Lists containing this project

README

        

# 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.