An API for aborting strategies and jobs. Operations which are passed a cancelPromise during initialisation should await it and abort their task when it resolves.

interface CancelOptions {
    cancelPromise: Promise<unknown>;
}

Properties

Properties

cancelPromise: Promise<unknown>