TaskObserver class abstract interface

Observation surface for task and group lifecycle state.

Implementers

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

getGroupStatus(String groupId) → Future<GroupStatus?>
Reads the latest group status by group id.
getTaskStatus(String taskId) → Future<TaskStatus?>
Reads the latest task status by task id.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
waitForTask<TResult extends Object?>(String taskId, {Duration? timeout, TResult decode(Object? payload)?, TResult decodeJson(Map<String, dynamic> payload)?, TResult decodeVersionedJson(Map<String, dynamic> payload, int version)?}) → Future<TaskResult<TResult>?>
Waits for a task result by task id.

Operators

operator ==(Object other) → bool
The equality operator.
inherited