isBusy property

bool get isBusy

Whether a turn is streaming or paused awaiting tool approval.

Lets an owner defer disruptive work — such as swapping the backing agent after a settings change — until the current turn settles, so a live response is not torn off mid-stream.

Implementation

bool get isBusy => _activeRuns > 0 || _pendingApprovalContent != null;