channel_pair

Function channel_pair 

Source
pub fn channel_pair<A, B>(buffer: usize) -> EndpointPair<A, B>
where A: Send + 'static, B: Send + 'static,
Expand description

Create an in-memory EndpointPair backed by bounded channels.