Skip to main content

output_channel

Function output_channel 

Source
pub fn output_channel() -> (OutputSender, OutputReceiver)
Expand description

Creates the channel pair for TestingOutput::ToChannel.

The channel is unbounded — see TestingOutput::ToChannel for why a bounded one would deadlock.