Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tomaka/wasm-timer
- Owner: tomaka
- License: mit
- Created: 2019-04-18T14:56:09.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-04-19T23:31:23.000Z (over 2 years ago)
- Last Synced: 2024-04-25T09:42:47.190Z (9 months ago)
- Language: Rust
- Size: 37.1 KB
- Stars: 72
- Watchers: 4
- Forks: 37
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.