Skip to content

Flow collection silently hangs when dispatcher throws an exception #4142

Open
@qwwdfsad

Description

Steps to reproduce:

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

Original report: JetBrains/compose-multiplatform#4835

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions