You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Heya, e4df140 uses wasm_timer::Delay in src/utils.rs for WASM target's Timer implementation. When running a countdown async task in a loop with a 50 ms delay, it pauses for 4 seconds every 19 iterations (observed in both Chrome and Firefox):
Switching it to futures_timer::Delay allows it to loop smoothly:
#776 has the change, though futures-timer depends on async-std in [dev-dependencies], so not sure if you'd like the somewhat cyclic reference.