queue Depth Flow
Observe queue depth as a Room-reactive kotlinx.coroutines.flow.Flow.
Emits the current queue depth whenever the underlying queue_events table changes in a way that affects the non-SENT row count (insert, state transition, delete). Does not tick on a timer, so the flow is quiet when the queue is quiet.
Behavior change in 1.2.0: previously timer-based, emitting every intervalMs; now emits on database change only. The intervalMs parameter is retained for binary compatibility with 0.8.0-1.1.x callers but is ignored. UI consumers that relied on the ticker as a refresh cue should drive their own ticker and combine.
Since
0.8.0
Parameters
Ignored since 1.2.0; retained for source/binary compatibility. Threading: Main-safe. Collection dispatches Room IO on the collector's context.