PatchbayRetryPolicy class final

Bounded retry contract for one consumer-owned external command.

The presence of this object is the command's explicit idempotency opt-in. maxAttempts includes the first attempt; clients must reuse one requestId across every attempt so the host can return the same execution fact.

Constructors

PatchbayRetryPolicy({required int maxAttempts, required int backoffMs})
const
PatchbayRetryPolicy.fromJson(Object? value)
factory

Properties

backoffMs int
final
hashCode int
The hash code for this object.
no setterinherited
maxAttempts int
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
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

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