Crate async_generator

source ·
Expand description

Asynchronous generator-like functionality in stable Rust.

Structs

  • An asynchronous generator.
  • Control handle to yield items to the coroutine.

Enums

Functions

  • Produces an asynchronous Stream of GeneratorState<I, R> by invoking the given closure with a handle that can be used to yield items.