asFlow

@JvmName(name = "toFlow")
fun <T : Any> Query<T>.asFlow(): Flow<Query<T>>

Turns this Query into a Flow which emits whenever the underlying result set changes.