bullmq - v6.3.11
    Preparing search index...

    Interface BackendClasses<B, C>

    Constructors with a fixed backend and connection type, leaving job types available as explicit type arguments.

    interface BackendClasses<B extends IQueueBackend, C> {
        FlowProducer: new (opts: FlowProducerOptions<C>) => FlowProducer<B, C>;
        Queue: new <D = any, R = any, N extends string = string>(
            name: string,
            opts: QueueOptions<C>,
        ) => Queue<
            D,
            R,
            N,
            ExtractDataType<D, D>,
            ExtractResultType<D, R>,
            ExtractNameType<D, N>,
            B,
            C,
        >;
        QueueEvents: new <R = any>(
            name: string,
            opts: QueueEventsOptions<C>,
        ) => QueueEvents<R, B, C>;
        QueueEventsProducer: new (
            name: string,
            opts: QueueEventsProducerOptions<C>,
        ) => QueueEventsProducer<B, C>;
        Worker: {
            RateLimitError: () => Error;
            new <
                D = any,
                R = any,
                N extends string = string,
                P extends JobProgress = JobProgress,
            >(
                name: string,
                processor: string | URL | Processor<D, R, N, P>,
                opts: WorkerOptions<C>,
            ): Worker<D, R, N, B, P, C>;
        };
    }

    Type Parameters

    Index
    FlowProducer: new (opts: FlowProducerOptions<C>) => FlowProducer<B, C>
    Queue: new <D = any, R = any, N extends string = string>(
        name: string,
        opts: QueueOptions<C>,
    ) => Queue<
        D,
        R,
        N,
        ExtractDataType<D, D>,
        ExtractResultType<D, R>,
        ExtractNameType<D, N>,
        B,
        C,
    >
    QueueEvents: new <R = any>(
        name: string,
        opts: QueueEventsOptions<C>,
    ) => QueueEvents<R, B, C>
    QueueEventsProducer: new (
        name: string,
        opts: QueueEventsProducerOptions<C>,
    ) => QueueEventsProducer<B, C>
    Worker: {
        RateLimitError: () => Error;
        new <
            D = any,
            R = any,
            N extends string = string,
            P extends JobProgress = JobProgress,
        >(
            name: string,
            processor: string | URL | Processor<D, R, N, P>,
            opts: WorkerOptions<C>,
        ): Worker<D, R, N, B, P, C>;
    }