I am not sure I understand `raceN` correctly: ```I...
# arrow
j
I am not sure I understand
raceN
correctly:
Copy code
IO.fx {
        dispatchers().io().raceN(timer().sleep(10.seconds).followedBy(effect { println("Hello") }), effect { println("Hello world") })
            .fork().bind().join().bind()
}.suspended()
This code fails with a cancellation exception after one of the effects has occured. The same code without the extra fiber does not.
suspended()
or not also changes nothing, unsafeRunSync will also fail.
s
The same code without the extra fiber does not.
dispatchers().io().raceN(timer().sleep(10.seconds).followedBy(effect { println("Hello") }), effect { println("Hello world") }).bind()
works fine?
😕
j
yes ^^
Any ideas on how to resolve this? Or should I open a ticket for this? o.O
s
We should open a ticket for this.
j
Done 👍
s
Thanks!!