cancelOwnJob method

  1. @protected
void cancelOwnJob(
  1. Cancelled cancelled
)

Cancels the owner with a cancellation it cannot refuse: the rules of a domain come here, and they cancel a job whatever cancellable says.

cancelled belongs to the owner alone, as JobBase.finish explains.

Implementation

@protected
void cancelOwnJob(Cancelled cancelled) =>
    _owner.cancelWith(cancelled, rejectable: false);