Provides a convenient way to create asynchronous streams using async/await notation.
# Cargo.toml
[dependencies]
async-stream = "0.3.6"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates an async stream that yields values 1, 2, and 3.
Add tokio as a dependency and use #[tokio::main] or similar.
No dependency data recorded yet.