unbounded_sync

Function 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.