Skip to main content

subscription

Function subscription 

Source
pub fn subscription<Id: Send + 'static>() -> Subscription<Event<Id>>
Available on crate feature command-palette only.
Expand description

Owns the command list’s results channel. Emits command::Event::Ready first, then batches, wrapped in Event::Command.