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:
parent
19ccd348bd
commit
79c89d779d
2 changed files with 5 additions and 1 deletions
|
@ -86,7 +86,7 @@ futures-lite = { version = "2.0.0", optional = true }
|
|||
async-process = { version = "2.0.0", optional = true }
|
||||
|
||||
[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 }
|
||||
futures-channel = { version = "0.3.4", optional = true }
|
||||
|
||||
|
|
|
@ -40,6 +40,10 @@
|
|||
//! type 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
|
||||
|
|
Loading…
Reference in a new issue