RetryHandler class
Utility class for executing functions with retry and timeout logic.
Constructors
- RetryHandler(RetryConfig config)
-
const
Properties
- config → RetryConfig
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
execute<
T> (Future< T> function(), {void onRetry(int attempt, Exception error)?}) → Future<T> - Executes a function with retry and timeout logic.
-
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