TaskProcessRetry class final

Handler execution that should be attempted again later.

Inheritance

Constructors

TaskProcessRetry({required Envelope envelope, required Envelope nextEnvelope, required Duration delay, required Object error, required StackTrace stackTrace, bool explicit = false})
Creates an outcome requesting a later delivery attempt.
const

Properties

attempt int
Zero-based attempt processed by the handler.
no setterinherited
delay Duration
Requested delay before the next delivery.
final
envelope Envelope
Effective envelope used for this attempt.
finalinherited
error Object
Failure or explicit retry request that produced this outcome.
final
explicit bool
Whether the handler explicitly requested the retry.
final
hashCode int
The hash code for this object.
no setterinherited
nextAttempt int
Zero-based attempt expected on the next delivery.
no setter
nextEnvelope Envelope
Envelope metadata for runtimes that retry by republishing. Signed transports must re-sign this changed envelope before publication.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace
Stack trace associated with error.
final
taskId String
Stable logical task identifier retained across every attempt.
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