pub type CancelHandle = Box<dyn FnOnce() + Send + 'static>;Expand description
One-shot cancellation handle returned by StreamSpawner.
Calling it signals the background thread to abort the current stream.
Aliased Typeยง
pub struct CancelHandle(/* private fields */);