Skip to main content

EventStream

Type Alias EventStream 

Source
pub type EventStream<'a, E> = Pin<Box<dyn Stream<Item = Result<ClientEvent<E>, ClientError>> + Send + 'a>>;
Expand description

A boxed stream of typed events. Mirrors ItemStream’s Send bound: required off wasm32, dropped on it.

Aliased Type§

#[repr(transparent)]
pub struct EventStream<'a, E> { /* private fields */ }