ExponentialRetryPolicy class

Exponential retry policy.

Amount of delay between retries doubles up to the maximum amount.

Inheritance

Constructors

ExponentialRetryPolicy({int? maxRetries, int? maximumDelay})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
maximumDelay int
Maximum amount of milliseconds to wait until retry is executed
final
maxRetries int
Maximum retries in non-subscribe calls.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getDelay(Fiber fiber) Duration
Returns a Duration that the SDK should wait before retrying.
override
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