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: 3 months 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 (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-04-19T23:31:23.000Z (about 3 years ago)
- Last Synced: 2024-04-25T09:42:47.190Z (about 1 year 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.