confirmedCount

val confirmedCount: StateFlow<Int>

The number of committed events processed by the background collector.

Exposed as a StateFlow so tests and consumers can suspend until a threshold is reached without busy-waiting. Replaces the prior while (cond) yield() spin in awaitConfirmedCount.