TaskJob class final

One background subagent job (omp's type: "task" async job, reduced). The job id IS the allocated agent id (omp semantics), so a settling job's result stays addressable as agent://<id>.

Properties

agent → String
The agent type running.
final
cancelToken → CancelToken
The token cancelling this job's child run.
no setter
hashCode → int
The hash code for this object.
no setterinherited
id → String
The job id (== the agent id).
final
index → int
Position of this item in its batch call.
final
result → TaskSingleResult?
The per-item result once settled (present for every terminal state — a failed child is a failed job carrying its error entry, not a throw).
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
settled → Future<void>
Completes when the job reaches a terminal state.
no setter
status → TaskJobStatus
Current state.
no setter
task → String
The assigned task.
final

Methods

cancel() → void
Cancels the job's child run (omp's hub cancel); a queued job cancels while waiting on the session semaphore.
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