warp-core-worker
    Preparing search index...

    Interface TaskWorkerInstance<TI>

    interface TaskWorkerInstance<
        TI extends ITaskInstance<string, TTaskProps, unknown, unknown>,
    > {
        abortController: AbortController;
        cron?: CronJob<null, null>;
        intervalRef?: Timeout;
        promise: DeferredPromise<unknown>;
        promiseOnce: DeferredPromise<unknown>;
        task: TI;
        type: TI["type"];
    }

    Type Parameters

    Index
    abortController: AbortController
    cron?: CronJob<null, null>
    intervalRef?: Timeout
    promise: DeferredPromise<unknown>

    Promise which hooks the entire lifecycle of the task instance

    promiseOnce: DeferredPromise<unknown>

    Promise which hooks one run for the task instance

    task: TI
    type: TI["type"]