This library provides a way to create asynchronous generator using the async/await feature in stable Rust.
It is similar to async-stream, But closely mimics the Coroutine API, Allowing the generator also return a value upon completion, in addition to yielding intermediate values.
Installation
Add it as a dependency to your Rust project by adding the following line to your Cargo.toml file:
[]
= "0.3"
Examples
use pin;
use ;
async