Type alias BackoffFunction

BackoffFunction: ((attemptsMade?: number, err?: Error, job?: Job) => number)

Type declaration

    • (attemptsMade?: number, err?: Error, job?: Job): number
    • Parameters

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

      Returns number

Generated using TypeDoc