Interface RetryOptions

Hierarchy

  • RetryOptions

Properties

Properties

onFail?: ((error: Error) => void | Promise<void>)

Type declaration

    • (error: Error): void | Promise<void>
    • fn to called when retry

      Parameters

      • error: Error

      Returns void | Promise<void>

times?: number

max retry times

Generated using TypeDoc