#fluvio #timer #fix

fluvio-wasm-timer

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

1 unstable release

0.2.5 May 21, 2021

#416 in WebAssembly

Download history 2414/week @ 2022-11-29 2358/week @ 2022-12-06 2924/week @ 2022-12-13 1636/week @ 2022-12-20 1694/week @ 2022-12-27 1959/week @ 2023-01-03 2272/week @ 2023-01-10 3557/week @ 2023-01-17 2266/week @ 2023-01-24 1767/week @ 2023-01-31 1786/week @ 2023-02-07 2406/week @ 2023-02-14 3454/week @ 2023-02-21 4788/week @ 2023-02-28 3677/week @ 2023-03-07 1851/week @ 2023-03-14

14,165 downloads per month
Used in 35 crates (7 directly)

MIT license

75KB
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
~66K SLoC