Skip to main content

coalesce_background

Function coalesce_background 

Source
fn coalesce_background(first: Value, rx: &mut Receiver<Value>) -> Vec<Value>
Expand description

Drain all immediately-available events from rx (including first) and coalesce them to the latest reading per (event-name:scope) key. Iteration order in the returned Vec is first-seen (stable across coalescing rounds).