-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature request: consider add Ticker #60
Comments
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 |
@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 #60 (comment) into this repo? |
consider adding a new struct
Ticker
, which implementfutures::Stream
, can return an instant periodically by use.next().await
The text was updated successfully, but these errors were encountered: