Skip to main content

ops_cancelled

Function ops_cancelled 

Source
pub async fn ops_cancelled(rx: &mut Receiver<u8>)
Expand description

Resolves when the cancel rung (level ≥ 2) is in force. Ready immediately if it already is. Used in a select! against the op future at the fiber’s dispatch point — dropping the op future is the cancellation.