pub fn channel<T>() -> (Sender<T>, Receiver<T>) {
    let mut receiver = Receiver::new();
    let sender = receiver.sender().unwrap();

    (sender, receiver)
}
/// Creates a new multi-shot channel.
Creates a new multi-shot channel.
Creates a new multi - shot channel .
pub fn channel<T>() -> (Sender<T>, Receiver<T>) {
    let mut receiver = Receiver::new();
    let sender = receiver.sender().unwrap();
    (sender, receiver)
}
pub fn channel < T > ( ) -> ( Sender < T > , Receiver < T > ) { let mut receiver = Receiver :: new ( ) ; let sender = receiver . sender ( ) . unwrap ( ) ; ( sender , receiver ) }
Creates a new multi-shot channel.
Creates a new multi - shot channel .