RetryConfig class

Retry configuration for workflow node execution.

Constructors

RetryConfig({int maxAttempts = 5, Duration initialDelay = const Duration(seconds: 1), Duration maxDelay = const Duration(seconds: 60), double backoffMultiplier = 2, double jitter = 1.0, List<Object>? exceptions})
Creates retry configuration.
const

Properties

backoffMultiplier → double
Exponential backoff multiplier.
final
exceptions → List<Object>?
Optional retry filter by exception class name or exact Type.
final
hashCode → int
The hash code for this object.
no setteroverride
initialDelay → Duration
Delay before the first retry.
final
jitter → double
Randomness factor applied to retry delay.
final
maxAttempts → int
Maximum number of attempts including the first run.
final
maxDelay → Duration
Maximum delay between retries.
final
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.
override