Module workflow_core::abortable
source · Expand description
Abortable trigger, can be used to cancel (abort) an asynchronous task.
Structs§
- Abortable trigger wraps an
Arc<AtomicBool>
, which can be cloned to signal task terminating using an atomic bool. - Error emitted by
Abortable
. @category General