Search
Preparing search index...
The search index is not available
@stinoz/retry-policy
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@stinoz/retry-policy
RetryState/RetryState
RetryState
Class RetryState
Hierarchy
RetryState
Index
Constructors
constructor
Methods
add
One
Retry
get
Last
Error
get
Retry
Count
Constructors
constructor
new
Retry
State
(
retryCount
?:
number
, lastError
?:
Error
)
:
RetryState
Parameters
retryCount:
number
= 0
Optional
lastError:
Error
Returns
RetryState
Methods
add
One
Retry
add
One
Retry
(
error
:
Error
)
:
RetryState
Parameters
error:
Error
Returns
RetryState
get
Last
Error
get
Last
Error
(
)
:
undefined
|
Error
Returns
undefined
|
Error
get
Retry
Count
get
Retry
Count
(
)
:
number
Returns
number
Exports
Error
Detection
Strategy
Error
Detection
Strategy/
All
Error
Detection
Strategy
Error
Detection
Strategy/
Error
Detection
Strategy
Builder
Error
Detection
Strategy/
Generic
Error
Detection
Strategy
Error
Detection
Strategy/
NoError
Detection
Strategy
Retry
Policy/
Retry
Policy
Retry
State/
Retry
State
Stop
Strategy
Stop
Strategy/
After
Attempt
Stop
Strategy
Stop
Strategy/
Never
Stop
Strategy
Stop
Strategy/
Stop
Strategy
Builder
Wait
Strategy
Wait
Strategy/
Exponential
Wait
Strategy
Wait
Strategy/
Fixed
Wait
Strategy
Wait
Strategy/
Linear
Wait
Strategy
Wait
Strategy/
Series
Wait
Strategy
Wait
Strategy/
Wait
Strategy
Builder
helpers/helpers
index
Retry
State
constructor
add
One
Retry
get
Last
Error
get
Retry
Count
Generated using
TypeDoc