TaskTimeouts class

Timeout configuration for a task.

queue fails the task if it waits in the queue too long. run fails the task if execution takes too long after it starts. total fails the task if the whole lifecycle from submission to completion exceeds the duration.

Constructors

TaskTimeouts({Duration? queue, Duration? run, Duration? total})

Properties

hashCode → int
The hash code for this object.
no setterinherited
queue → Duration?
final
run → Duration?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
total → Duration?
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