Function fake_mpsc

Source
pub(crate) fn fake_mpsc() -> (Sender<AnyChanCell, MpscSpec>, Receiver<AnyChanCell, MpscSpec>)
Available on crate feature testing only.
Expand description

Make an MPSC queue, of the type we use in Channels, but a fake one for testing