OnError: ((err: Error, count: number, exit: boolean) => any)

Type declaration

    • (err: Error, count: number, exit: boolean): any
    • Called whenever RepeatTask throws an error

      Parameters

      • err: Error

        The error thrown

      • count: number

        The consecutive number of errors

      • exit: boolean

        Whether the task will exit after this error

      Returns any

Generated using TypeDoc