countNotSentFlow

abstract fun countNotSentFlow(): Flow<Long>

Room-reactive variant of countNotSent. Emits a new value whenever rows matching the state != 'SENT' predicate are inserted, updated, or deleted. Cheaper and more responsive than polling on a timer.

Since

1.2.0