#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

#474 in WebAssembly

Download history 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 5233/week @ 2025-02-07 5521/week @ 2025-02-14 6964/week @ 2025-02-21 7476/week @ 2025-02-28 5110/week @ 2025-03-07

26,179 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