Function channel

Source
pub fn channel<T>(capacity: usize) -> (PipeSender<T>, PipeReceiver<T>)
Expand description

创建一对指定容量的异步通道