pub trait CancellationSignal: Send + Sync {
// Required method
fn is_cancelled(&self) -> bool;
}Expand description
Cooperative cancellation interface for workflow runs.
Required Methods§
Sourcefn is_cancelled(&self) -> bool
fn is_cancelled(&self) -> bool
Returns true if execution should stop.