feature request: consider add Ticker
consider adding a new struct Ticker, which implement futures::Stream, can return an instant periodically by use .next().await
In the absence of this, I quickly wrote & released https://crates.io/crates/futures-ticker (crate) - happy to merge it into this crate, or keep it independent (and implement it for different Timer schemes, e.g. smol's).
Thanks for opening @Sherlock-Holo! I guess we may want to re-introduce async_std::stream::interval into this crate.
@yoshuawuyts Hi, i'm looking for this functionality exactly, being able to run some work at every interval
Indeed, I ended up at this issue because I tried to figure out what happened to Interval from the legacy futures version of futures-timer.
Hi, Is there any plan to merge https://github.com/async-rs/futures-timer/issues/60#issuecomment-650601845 into this repo?