OptionalbaseInitial delay in milliseconds before the first retry. Defaults to 100.
OptionalfactorExponential factor for increasing the delay between retries. Defaults to 2.
OptionalmaxMaximum delay cap in milliseconds. Defaults to 10000.
OptionalonOptional callback invoked on each failed attempt. Receives the error and attempt number.
OptionalretriesMaximum number of retry attempts. Defaults to 3.
Options for the
retryBackofffunction.