Optional
retryOptions: { The retry options to be validated.
Optional
backoffThe multiplier to apply to the delay between subsequent retries. Optional and must be between 1 and 2.
Optional
initialThe initial delay before the first retry attempt in milliseconds. Optional and must be between 100 and 5000 ms.
Optional
retries?: numberThe number of retry attempts. Optional and must be between 0 and 5.
The multiplier to apply to the delay between subsequent retries. Must be between 1 and 2.
The initial delay before the first retry attempt in milliseconds. Must be between 100 and 5000 ms.
The number of retry attempts. Must be between 0 and 5.
Parses and validates the retry options, merging them with default values.
Throws