sqldelight
sqldelight copied to clipboard
Changes in the database are not observed when using a context other than Dispatchers.Main
SQLDelight Version
2.0.2
Application Operating System
Android
Describe the Bug
The function observes changes only using the Dispatchers.Main
fun getActionFlow(id: Long): Flow<Action> { val actionFlow = database.actionEntityQueries.selectActionById(id).asFlow().mapToOne(Dispatchers.Main)
Similar issue on StackOverFlow