Type alias BackoffStrategy

BackoffStrategy: ((attemptsMade?: number, type?: string, err?: Error, job?: Job) => Promise<number> | number)

Type declaration

    • (attemptsMade?: number, type?: string, err?: Error, job?: Job): Promise<number> | number
    • Parameters

      • Optional attemptsMade: number
      • Optional type: string
      • Optional err: Error
      • Optional job: Job

      Returns Promise<number> | number

Generated using TypeDoc