RetryDecision class sealed

The action a Queue takes after an Event.run attempt throws.

Implementers
Annotations
  • @immutable

Constructors

RetryDecision.fail({bool? retainRecord})
Fails the event permanently.
const
factory
RetryDecision.pause()
Pauses the queue (QueueStartListenable.pause) and leaves the event at the front of the Queue.currentQueue so it runs again once the queue is resumed.
const
factory
RetryDecision.retryAt(DateTime nextAttemptAt)
Schedules the event in the retry queue to run again at nextAttemptAt.
const
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
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