The type of the recovery callback parameter.
OptionalbackThe options for exponential backoff strategy.
OptionalexhaustedIndicates whether to retry only when all attempts are exhausted.
OptionalmaxThe maximum number of attempts to retry the task.
OptionalnotThe list of custom error classes to not retry on.
OptionalrecoveryThe callback function to recover from an error.
OptionalretryThe list of custom error classes to retry on.
OptionalrollbackThe custom error class to rollback the operation.
OptionaltimeoutThe timeout duration in milliseconds for each attempt.
RetryOptions interface represents the options for retrying a task.