TaskJobManager class final
Session-scoped registry of background task jobs (reduced port of omp's
AsyncJobManager role for task spawns).
Completion delivery: omp injects an async-result message into the parent conversation when a job settles. v1 surfaces the same event through completions; hosts inject the message (CLI wiring is a follow-up).
Constructors
Properties
-
completions
→ Stream<
TaskJob> -
Broadcast stream of jobs as they settle (omp's async-result event).
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
jobs
→ List<
TaskJob> -
Every job of the session, in registration order.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
settled
→ Future<
void> -
Resolves when every registered job has settled.
no setter
Methods
-
close(
) → Future< void> - Closes the completions stream (session teardown).
-
job(
String id) → TaskJob? -
Looks a job up by id;
nullwhen unknown. -
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