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

toflow

fun DynamicRealm.toflow(): Flow<DynamicRealm>

Creates a Flow for a DynamicRealm. 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.