Skip to main content

stream_channel

Function stream_channel 

Source
pub fn stream_channel<T>(
    capacity: usize,
    strategy: BackpressureStrategy,
) -> (StreamSender<T>, StreamReceiver<T>)
Expand description

Creates a stream event channel pair.