RetryOptions class

How an activation waits for a newly registered atSign to be provisioned.

Constructors

RetryOptions({required int maxRetries, required Duration retryDelay, Duration? overallTimeout})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
maxRetries → int
final
overallTimeout → Duration?
The maximum total wall-clock to spend reaching/validating the atServer — the whole retry/poll loop. When null, the default depends on the request: authentication uses the short process-wide default (AtNetworkTimeouts.effectiveDefault, 30s) so a dead network fails fast, while ONBOARDING uses AtNetworkTimeouts.defaultOnboardingTimeout (5 min) because a newly-registered atSign can take minutes to be provisioned. This bounds the loop and is deliberately NOT clamped to AtNetworkTimeouts.maxAllowed — that cap applies to individual network operations. Note maxRetries no longer bounds this loop; this deadline does (the loop retries every retryDelay until the budget is spent).
final
retryDelay → Duration
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.
inherited