RetryStrategy interface
A retry strategy is intended to define whether to retry or not, and how to retry.
Properties
logger | Logger. If it's not provided, a default logger for all retry strategies is used. |
name | Name of the retry strategy. Used for logging. |
Methods
retry(Retry |
Function that determines how to proceed with the subsequent requests. |
Property Details
logger
Logger. If it's not provided, a default logger for all retry strategies is used.
logger?: AzureLogger
Property Value
name
Name of the retry strategy. Used for logging.
name: string
Property Value
string
Method Details
retry(RetryInformation)
Function that determines how to proceed with the subsequent requests.
function retry(state: RetryInformation): RetryModifiers
Parameters
- state
- RetryInformation
Retry state