databaseChangeFlow
fun Database.databaseChangeFlow(coroutineContext: CoroutineContext? = null): Flow<DatabaseChange>(source)
Deprecated
Use Collection.collectionChangeFlow()
Replace with
defaultCollection.collectionChangeFlow(coroutineContext)
Content copied to clipboard
A Flow of database changes.
Parameters
coroutineContext
optional CoroutineContext on which to run the change listener: default is the flow collector's CoroutineContext