pub fn new_pair<T>() -> (Canceler<T>, Receiver<T>)Available on crate feature
std only.Expand description
Creates and returns a cooperative cancellation pair.
For more information, see the module documentation.
pub fn new_pair<T>() -> (Canceler<T>, Receiver<T>)std only.Creates and returns a cooperative cancellation pair.
For more information, see the module documentation.