Options
All
  • Public
  • Public/Protected
  • All
Menu

Determines the number of milliseconds to wait before retrying an action.

Hierarchy

  • DelayDecider

Callable

  • __call(delayBase: number, attempts: number): number
  • Determines the number of milliseconds to wait before retrying an action.

    Parameters

    • delayBase: number

      The base delay (in milliseconds).

    • attempts: number

      The number of times the action has already been tried.

    Returns number