* suspend fun main() {
* val errorA = "ErrorA"
* val errorB = "ErrorB"
* val int = 45
* effect<String, Int> {
* coroutineScope<Int> {
* launch { raise(errorA) }
* launch { raise(errorB) }
* int
* }
* }.fold({ fail("Raise can never finish") }, { it shouldBe int })
* }
This is the behavior that we expected? or do we want to change it?
I am curious because I am having this problem in my project and I found it a little hard to debug. I didn“t expect this behavior.