Type Alias AsyncGenerator

Source
pub type AsyncGenerator<T> = Pin<Box<dyn Fn(u64) -> Pin<Box<dyn Future<Output = T> + Send>> + Send + Sync>>;
Expand description

A channel generator for types that need asynchronous execution

Aliased Typeยง

struct AsyncGenerator<T> {}