Module abortable

Source
Expand description

Abortable trigger, can be used to cancel (abort) an asynchronous task.

Structsยง

Abortable
Abortable trigger wraps an Arc<AtomicBool>, which can be cloned to signal task terminating using an atomic bool.
Aborted
Error emitted by Abortable. @category General