Skip to main content

InputSource

Type Alias InputSource 

Source
pub type InputSource = Pin<Box<dyn Stream<Item = AppEvent> + Send>>;
Expand description

Terminal-originated events, already decoded. Boxed rather than generic so the loop, the app and main carry no type parameter for it (the same line ADR-0009 draws for the editor backend).

Aliased Typeยง

#[repr(transparent)]
pub struct InputSource { /* private fields */ }