kotlin-extensions / io.realm.kotlin / io.realm.Realm / toflow

toflow

fun Realm.toflow(): Flow<Realm>

Creates a Flow for a Realm. It should emit the initial state of the Realm when subscribed to and on each subsequent update of the Realm.

Return
Kotlin Flow that emit all updates to the Realm.