Skip to main content

subscribe

Function subscribe 

Source
pub fn subscribe() -> Receiver<PulseEvent>
Expand description

Subscribe to the pulse event stream. Each subscriber gets its own broadcast::Receiver; slow subscribers may miss events if they lag behind by more than PULSE_CHANNEL_CAPACITY.