#instant #timeout #interval #delay #abstraction #targets

fluvio-wasm-timer

Abstraction over std::time::Instant and futures-timer that works on WASM

1 unstable release

0.2.5 May 21, 2021

#526 in WebAssembly

Download history 6165/week @ 2024-11-01 4097/week @ 2024-11-08 4256/week @ 2024-11-15 3308/week @ 2024-11-22 4195/week @ 2024-11-29 4432/week @ 2024-12-06 4246/week @ 2024-12-13 2158/week @ 2024-12-20 1888/week @ 2024-12-27 3923/week @ 2025-01-03 5769/week @ 2025-01-10 5783/week @ 2025-01-17 6200/week @ 2025-01-24 8021/week @ 2025-01-31 5291/week @ 2025-02-07 2197/week @ 2025-02-14

22,799 downloads per month
Used in 39 crates (9 directly)

MIT license

76KB
1.5K SLoC

Note

This branch is just a work around to fix a wasm bug.

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.

Dependencies

~1.1–4MB
~71K SLoC