I have a multiplatform project targetting android...
# multiplatform
m
I have a multiplatform project targetting android, ios, js and jvm. I need a way to spawn a simple thread and be able to call
sleep
method or its equivalent. Coroutines are multiplatform but do they support jvm target? https://github.com/Kotlin/kotlinx.coroutines#multiplatform I see android, js and native here but no jvm.
b
JVM is default target. simply use coroutines-core with no target suffix (i.e. js, native, common)
m
Thanks!