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: 21 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 6 years ago)
- Default Branch: master
- Last Pushed: 2022-04-19T23:31:23.000Z (over 3 years ago)
- Last Synced: 2025-08-30T10:53:12.670Z (3 months ago)
- Language: Rust
- Size: 37.1 KB
- Stars: 76
- Watchers: 3
- Forks: 39
- Open Issues: 17
-
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.