kotlinx.coroutines icon indicating copy to clipboard operation
kotlinx.coroutines copied to clipboard

Flow collection silently hangs when dispatcher throws an exception

Open qwwdfsad opened this issue 1 year ago • 0 comments

Steps to reproduce:

 flowOf(1, 2, 3)
            .flowOn(Dispatchers.Main.immediate) // Should be not present in the classpath
            .collect {
                println("collect: $it")
            }

Original report: https://github.com/JetBrains/compose-multiplatform/issues/4835

qwwdfsad avatar May 29 '24 14:05 qwwdfsad