2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-04-23 16:56:46 +00:00

deps: update gloo-timers to 0.3

This commit is contained in:
Marc-Antoine Perennou 2024-08-20 19:43:54 +02:00
parent 19ccd348bd
commit 79c89d779d
2 changed files with 5 additions and 1 deletions

View file

@ -86,7 +86,7 @@ futures-lite = { version = "2.0.0", optional = true }
async-process = { version = "2.0.0", optional = true } async-process = { version = "2.0.0", optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies] [target.'cfg(target_arch = "wasm32")'.dependencies]
gloo-timers = { version = "0.2.1", features = ["futures"], optional = true } gloo-timers = { version = "0.3.0", features = ["futures"], optional = true }
wasm-bindgen-futures = { version = "0.4.10", optional = true } wasm-bindgen-futures = { version = "0.4.10", optional = true }
futures-channel = { version = "0.3.4", optional = true } futures-channel = { version = "0.3.4", optional = true }

View file

@ -40,6 +40,10 @@
//! type Item; //! type Item;
//! fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>>; //! fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>>;
//! } //! }
//! # impl Stream for () {
//! # type Item = ();
//! # fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>> { Poll::Pending }
//! # }
//! ``` //! ```
//! //!
//! A stream has a method, [`next`], which when called, returns an //! A stream has a method, [`next`], which when called, returns an