Skip to main content

drain_outputs

Function drain_outputs 

Source
pub fn drain_outputs(rx: &mut OutputReceiver) -> Vec<OutputJson> 
Expand description

Collects every output queued on a TestingOutput::ToChannel receiver without blocking.

Call this once the node has finished; anything it sent is already queued.