isCompleted property

bool get isCompleted

True if complete has been called (the group has reached a terminal state). Used by AgentKernel.submit to detect cancellation-during- execution and return the salvaged outcome instead of the executor's return value.

Implementation

bool get isCompleted => _done.isCompleted;