flushConcurrentEvaluation method
void
flushConcurrentEvaluation()
Synchronous sweep — prunes finalised refs, evaluates emission state,
refreshes observables. Capture screens call this AFTER the workload
registers all refs and BEFORE markScenarioEnd so the in-span trace
record carries the scenario's steady-state count, not a partial
first-cross.
Implementation
void flushConcurrentEvaluation() {
if (!_isEnabled) return;
_sweep();
}