Kotlin MutableStateFlow.collect is dropping values
问题 I have an android app in which I'm trying to use coroutine flows to replace the existing Otto EventBus using my own event bus library. I'm seeing dropped values when setting the MutableStateFlow's value and then collecting in my app's code. I've created a much simpler project that demonstrates the same issue. Any thoughts on why values are being dropped from the MutableStateFlow? Project's build.gradle buildscript { ext.kotlin_version = "1.4.10" repositories { google() jcenter() }