Type Alias WaitForOptions<T>

WaitForOptions<T>: {
    maxDelay?: number;
    minDelay?: number;
    stop?: WaitForStopCondition<T>;
    timeout?: number;
}

The options to wait until a resource is ready.

Type Parameters

  • T

Type declaration

  • OptionalmaxDelay?: number

    The maximum delay before the next try in seconds.

    30 seconds.
    
  • OptionalminDelay?: number

    The minimum delay before the next try in seconds.

    1 second.
    
  • Optionalstop?: WaitForStopCondition<T>

    The condition to stop trying.

    Waits for non-transient value.
    
  • Optionaltimeout?: number

    Timeout in seconds.

    300 seconds (5 minutes).