Function batch_channel::unbounded_sync

source ยท
pub fn unbounded_sync<T>() -> (SyncSender<T>, SyncReceiver<T>)
Expand description

Allocates an unbounded channel and returns the synchronous handles as a sender, receiver pair.