@sideloop/core
    Preparing search index...

    Interface SideJobShape<T>

    interface SideJobShape<T = unknown> {
        get arguments(): T;
        get concurrencyDuration(): null | number;
        get concurrencyGroup(): string;
        get concurrencyKey(): null | string;
        get concurrencyLimit(): null | number;
        get executions(): number;
        get jobName(): string;
        get priority(): number;
        get queueName(): string;
        get scheduledAt(): null | Date;
        deserialize(jobData: JobArguments): void;
        enqueue(): Promise<Job>;
        performNow(): Promise<void>;
        serialize(): string;
        set(options: JobOptions): SideJobShape<T>;
    }

    Type Parameters

    • T = unknown
    Index

    Accessors

    Methods