observe

abstract fun observe(): Flow<Realm>

Observe changes to the realm. If there is any change to the realm, the flow will emit the updated realm. The flow will continue running indefinitely until canceled.

The change calculations will run on the thread defined through the Configuration Notification Dispatcher.

Return

a flow representing changes to this realm.