How to implement a timer with async-std crate?

I want to use timer in project with async_std, but I do not find the api.

There is timeout in async_std::io which isn't where I expected to find it either. async_std::io::timeout

I mean an api just like tokio::time::interval: Interval in tokio::time - Rust.

Looks like the closest equivalent is unstable.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.