Skip to main content

drain_plugin_events

Function drain_plugin_events 

Source
pub fn drain_plugin_events() -> Vec<QueuedEvent>
Expand description

Take every queued event, in arrival order. Returns the empty vector when the channel was never initialised, is empty, or its lock is poisoned.