Skip to main content

Crate tea_control

Crate tea_control 

Source
Expand description

Shared operation control primitives for tea-rs.

§Example

use tea_control::CancellationScope;

let root = CancellationScope::new();
let child = root.child();
root.cancel();
assert!(child.is_cancelled());

Structs§

CancellationScope
Cooperative cancellation scope for an owned operation and its children.