abstract fun asFlow(): Flow<ResultsChange<T>>

Observe changes to the RealmResult. Once subscribed the flow will emit a InitialResults event and then a UpdatedResults on any change to the objects represented by the query backing the RealmResults. The flow will continue running indefinitely until canceled.

The change calculations will on on the thread represented by Configuration.SharedBuilder.notificationDispatcher.


a flow representing changes to the RealmResults.