bullmq - v5.56.2
    Preparing search index...

    Type Alias Processor<T, R, N>

    Processor: (job: Job<T, R, N>, token?: string) => Promise<R>

    An async function that receives Jobs and handles them.

    Type Parameters

    • T = any
    • R = any
    • N extends string = string

    Type declaration

      • (job: Job<T, R, N>, token?: string): Promise<R>
      • Parameters

        • job: Job<T, R, N>
        • Optionaltoken: string

        Returns Promise<R>