Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RetryUntilOptions<T>

Options passed to retryUntil function.

Type parameters

  • T

Hierarchy

  • RetryUntilOptions

Index

Properties

Optional catchErrors

catchErrors: undefined | false | true

Optional condition

condition: undefined | function

Exit condition is called after every attempt unless an error was caught with RetryUntilOptions.catchErrors.

interval

interval: number

Time in milliseconds that needs to pass before the next attempt is started. The time is counted before an attempt is started!

Optional timeout

timeout: undefined | number

Time in milliseconds after which to abort.

Generated using TypeDoc