Type Definition engineio_rs::Generator

source ·
pub type Generator<T> = Pin<Box<dyn Stream<Item = T> + Send + 'static>>;
Expand description

A generator is an internal type that represents a Send [futures_util::Stream] that yields a certain type T whenever it’s polled.