https://kotlinlang.org logo
#coroutines
Title
# coroutines
b

bsimmons

09/10/2020, 12:57 PM
Multiplatform question. I am trying to get
delay {}
and
runBlocking {}
working on iOS/native. Currently, I am trying out
<http://1.3.5-native.mt|1.3.5-native.mt>
and am getting some bizarre/arbitrary freezing errors that would otherwise work on the JVM. What is the recommended way of launching coroutines on iOS? Is there a guide or template anywhere? Is it worth upgrading to 1.4 and using the latest version?
t

Tijl

09/10/2020, 1:26 PM
yes, 1.4 + 1.3.9-native-mt has proper default and main dispatchers
b

bsimmons

09/10/2020, 1:34 PM
Great, thanks for the info. Someday I'll update to that then!
5 Views