Type Alias hotshot_types::traits::network::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> {}