JobArgs: [] | [{
    cancelPromise: Promise<unknown>;
}]

Job functions are called with no args, or a single options object containing a cancelPromise. If the underlying async operation doesn't support cancellation, the cancelPromise argument can be ignored. If the job is cancellable, (such as a fetch which has support for AbortSignal) the underlying operation should be aborted when the cancelPromise resolves. In normal operation, the cancelPromise will remain permanently unsettled.