OptionalbackoffOptionaldelayDelay between retries
OptionaljitterJitter factor for the delay between retries
OptionalonCallback invoked before each retry attempt
OptionalonCallback invoked after all retry attempts have been exhausted. Use to take over error handling and return a fallback value.
OptionalretriesNumber of retries
OptionalshouldFunction to determine if the function should be retried
OptionalsignalAbort signal to cancel the retry
OptionalthrowThrow the last error encountered if all retries fail
Multiplier for the delay between retries