#instant #timeout #interval #delay #abstraction #functionalities

fluvio-wasm-timer

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

1 unstable release

0.2.5 May 21, 2021

#685 in WebAssembly

Download history 3212/week @ 2024-03-14 4152/week @ 2024-03-21 5009/week @ 2024-03-28 4767/week @ 2024-04-04 3645/week @ 2024-04-11 7109/week @ 2024-04-18 4481/week @ 2024-04-25 4064/week @ 2024-05-02 4552/week @ 2024-05-09 3613/week @ 2024-05-16 5467/week @ 2024-05-23 4624/week @ 2024-05-30 3941/week @ 2024-06-06 4426/week @ 2024-06-13 4658/week @ 2024-06-20 3215/week @ 2024-06-27

16,989 downloads per month
Used in 41 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
~68K SLoC