#fluvio #timer

fluvio-wasm-timer

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

1 unstable release

0.2.5 May 21, 2021

#1022 in WebAssembly

Download history 2481/week @ 2023-08-06 2867/week @ 2023-08-13 2583/week @ 2023-08-20 3152/week @ 2023-08-27 2347/week @ 2023-09-03 3046/week @ 2023-09-10 2858/week @ 2023-09-17 3081/week @ 2023-09-24 3640/week @ 2023-10-01 3703/week @ 2023-10-08 3389/week @ 2023-10-15 2871/week @ 2023-10-22 5932/week @ 2023-10-29 3951/week @ 2023-11-05 7013/week @ 2023-11-12 4198/week @ 2023-11-19

21,302 downloads per month
Used in 36 crates (8 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–3.5MB
~67K SLoC