| Crates.io | zduny-wasm-timer |
| lib.rs | zduny-wasm-timer |
| version | 0.2.9 |
| created_at | 2022-11-01 18:33:01.786711+00 |
| updated_at | 2025-03-17 09:05:44.459338+00 |
| description | Abstraction over std::time::Instant and futures-timer that works on WASM |
| homepage | |
| repository | https://github.com/zduny/wasm-timer |
| max_upload_size | |
| id | 702992 |
| size | 99,524 |
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 and js-sys to implement their functionalities.
Works in Web Workers.
https://crates.io/crates/zduny-wasm-timer