Search
Preparing search index...
The search index is not available
Oracle Cloud Infrastructure SDK for TypeScript and JavaScript API Reference - 2.93.0
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
common/lib/waiter
Globals
common/lib/waiter
Module common/lib/waiter
Classes
Exponential
Backoff
Delay
Strategy
Exponential
Backoff
Delay
Strategy
With
Jitter
Fixed
Time
Delay
Strategy
Max
Attempts
Termination
Strategy
Max
Time
Termination
Strategy
Wait
Context
Impl
Interfaces
Delay
Strategy
Termination
Strategy
Wait
Context
Waiter
Configuration
Details
Type aliases
Waiter
Configuration
Functions
delay
generic
Terminal
Condition
Waiter
generic
Waiter
Object literals
Default
Waiter
Configuration
Details
Type aliases
Waiter
Configuration
Waiter
Configuration
:
Partial
<
WaiterConfigurationDetails
>
Functions
delay
delay
(
second
:
number
)
:
Promise
<
unknown
>
Parameters
second:
number
Returns
Promise
<
unknown
>
generic
Terminal
Condition
Waiter
generic
Terminal
Condition
Waiter<Response>
(
config
:
WaiterConfiguration
|
undefined
, serviceCall
:
function
, terminationPredicate
:
function
, allow404
?:
boolean
)
:
Promise
<
Response
|
null
>
Type parameters
Response
Parameters
config:
WaiterConfiguration
|
undefined
serviceCall:
function
(
)
:
Promise
<
Response
>
Returns
Promise
<
Response
>
terminationPredicate:
function
(
response
:
Response
)
:
boolean
Parameters
response:
Response
Returns
boolean
Default value
allow404:
boolean
= false
Returns
Promise
<
Response
|
null
>
generic
Waiter
generic
Waiter<Response>
(
config
:
WaiterConfiguration
|
undefined
, serviceCall
:
function
, terminationPredicate
:
function
)
:
Promise
<
Response
>
Type parameters
Response
Parameters
config:
WaiterConfiguration
|
undefined
serviceCall:
function
(
)
:
Promise
<
Response
>
Returns
Promise
<
Response
>
terminationPredicate:
function
(
response
:
Response
)
:
boolean
Parameters
response:
Response
Returns
boolean
Returns
Promise
<
Response
>
Object literals
Const
Default
Waiter
Configuration
Details
Default
Waiter
Configuration
Details
:
object
delay
Strategy
delay
Strategy
:
ExponentialBackoffDelayStrategy
= new ExponentialBackoffDelayStrategy(30)
termination
Strategy
termination
Strategy
:
MaxTimeTerminationStrategy
= new MaxTimeTerminationStrategy(1200)
Exponential
Backoff
Delay
Strategy
Exponential
Backoff
Delay
Strategy
With
Jitter
Fixed
Time
Delay
Strategy
Max
Attempts
Termination
Strategy
Max
Time
Termination
Strategy
Wait
Context
Impl
Delay
Strategy
Termination
Strategy
Wait
Context
Waiter
Configuration
Details
Waiter
Configuration
delay
generic
Terminal
Condition
Waiter
generic
Waiter
Default
Waiter
Configuration
Details