pub fn unsync_channel<T>(
capacity: Option<NonZeroUsize>,
) -> (Sender<T>, Receiver<T>)Available on crate feature
tokio only.Expand description
Returns an unsync channel as a (1) sender and (2) receiver Stream for use in DFIR.
pub fn unsync_channel<T>(
capacity: Option<NonZeroUsize>,
) -> (Sender<T>, Receiver<T>)tokio only.Returns an unsync channel as a (1) sender and (2) receiver Stream for use in DFIR.