cancellable property

  1. @protected
bool get cancellable

Whether the job accepts a cancellation it may refuse, as it was created.

An uncancellable section does not change this: it holds a cancellation rather than refusing it.

See Refusing while the job waits on the engine page.

Implementation

@protected
bool get cancellable => _cancellable;