Function shuttle::sync::mpsc::sync_channel
source · pub fn sync_channel<T>(bound: usize) -> (SyncSender<T>, Receiver<T>)
Expand description
Create a bounded channel
pub fn sync_channel<T>(bound: usize) -> (SyncSender<T>, Receiver<T>)
Create a bounded channel