Why does kotlinx.coroutines for kotlin/native have...
# kotlin-native
s
Why does kotlinx.coroutines for kotlin/native have to run inside
runBlocking
?
a
Why exaclty?
They said that only single threaded code supports right now 😞 @spierce7
s
I know. Does that mean you can't run
launch
single threaded?
a
No, launch {} won't work unless it's inside of runBlocking {}
I ran few tests about it,
Job
and
Deferred
are working properly inside a
runBlocking { }
lambda