RetryConfiguration class abstract

Constructors

RetryConfiguration({required List<Exception> retryableExceptions, int maxAttempt = 5, Duration? backOff, dynamic onRecover(ExecutionContext context)?})
Returns the new instance of SkipConfiguration.
factory

Properties

backOff Duration?
Returns the back off duration.
no setter
hashCode int
The hash code for this object.
no setterinherited
maxAttempt int
Returns the max attempt of retry.
no setter
onRecover → dynamic Function(ExecutionContext context)?
The callback to be executed when all retries have failed the specified maxAttempt.
no setter
retryableExceptions List<String>
Returns the retryable exceptions.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited