OptionalbackBuilt-in backoff strategy applied to numeric delays.
Has no effect when delay is a custom function.
OptionaldelayDelay between retry attempts in milliseconds, or a function to calculate the delay.
When used with a backOff strategy and a numeric value, this serves as the base delay.
Maximum number of attempts (including the initial attempt)
OptionalretryPredicate function to determine if a retry should be attempted based on the error. Returns true to retry, false to fail immediately.
Options for configuring retry behavior in cancellable tasks.