The futures-timer (https://crates.io/crates/futures-timer) crate is runtime agnostic and also supports gloo-timers for WASM environments.
Why not using that one instead of gloo-timers directly? This also covers the cases, when e.g. someone is not using tokio, but async-std.
The futures-timer (https://crates.io/crates/futures-timer) crate is runtime agnostic and also supports
gloo-timersfor WASM environments.Why not using that one instead of
gloo-timersdirectly? This also covers the cases, when e.g. someone is not usingtokio, butasync-std.