wasm_bindgen_futures

Module stream

source
Available on crate feature futures-core-03-stream only.
Expand description

Converting JavaScript AsyncIterators to Rust Streams.

Analogous to the promise to future conversion, this module allows turning objects implementing the async iterator protocol into Streams that produce values that can be awaited from.

Structsยง

  • A Stream that yields values from an underlying AsyncIterator.