Function tokio::sync::mpsc::chan::channel

source ยท
pub(crate) fn channel<T, S: Semaphore>(semaphore: S) -> (Tx<T, S>, Rx<T, S>)