TaskRetryPayload class

Payload emitted when a task is scheduled for retry.

Implemented types

Constructors

TaskRetryPayload({required Envelope envelope, required WorkerInfo worker, required Object reason, required DateTime nextRetryAt, DateTime? emittedAt})
Creates a new TaskRetryPayload instance.

Properties

attempt → int
The attempt number for this task execution.
no setter
attributes → Map<String, Object?>
Event attributes for diagnostics/observability.
no setteroverride
emittedAt → DateTime
The timestamp when the retry signal was emitted.
final
envelope → Envelope
The task envelope to be retried.
final
eventName → String
Canonical event name.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
nextRetryAt → DateTime
The scheduled time for the next retry attempt.
final
occurredAt → DateTime
Timestamp when the event occurred.
no setteroverride
reason → Object
The reason for the retry.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
taskId → String
The unique identifier for the task.
no setter
taskName → String
The name of the task.
no setter
worker → WorkerInfo
The worker that will retry the task.
final

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