rustwasm / gloo

A modular toolkit for building fast, reliable Web applications and libraries with Rust and WASM
https://gloo-rs.web.app
Apache License 2.0
1.72k stars 141 forks source link

Feature request: MissedTickBehavior for gloo_timers::future::IntervalStream #441

Open vi opened 4 months ago

vi commented 4 months ago

Summary

It would be nice to have something like tokio::time::MissedTickBehavior in gloo-timers.

Motivation

Browser often suspend execution of code in inactive tabs, so missed ticks is a frequent case. It would be nice to e.g. support bursting missing ticks.

Detailed Explanation

...

Unresolved Questions

...