Hi guys, Im writing iosTest tests and trying to test flows (I’m using multithreaded coroutines). Whenever i try to collect on my flow, test just freezes. Is there some material i can read about testing multithreaded coroutines on ios side? Or any ideas why is it happening?
b
Benoît
04/29/2021, 1:40 PM
Kotlin native is single threaded, you simply can't do this
j
Jozef Matus
04/29/2021, 1:41 PM
There is multithreaded version of coroutines, its in separate brach, Im using that one 🙂
b
Benoît
04/29/2021, 1:43 PM
I'm using that version as well and I've ran into the same issues, it seems that you can use multiple threads but only 1 can run at the same time. Not sure if that's actually the case