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 it.

Implementation

@protected
bool get cancellable => _owner._cancellable;