Optional
baseInitial delay in milliseconds before the first retry. Defaults to 100
.
Optional
factorExponential factor for increasing the delay between retries. Defaults to 2
.
Optional
maxMaximum delay cap in milliseconds. Defaults to 10000
.
Optional
onOptional callback invoked on each failed attempt. Receives the error and attempt number.
Optional
retriesMaximum number of retry attempts. Defaults to 3
.
Options for the
retryBackoff
function.