Function cancel_safe_futures::coop_cancel::new_pair
source ยท 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.