We are attempting to use coroutines with the new k...
# coroutines
y
We are attempting to use coroutines with the new kotlin-multiplatform plugin. We are able to use it successfully inside
iosMain
but we cannot use it in
commonMain
. We get a compilation error with
Unresolved reference: GlobalScope
and the line it fails on is
import kotlinx.coroutines.GlobalScope
. Does anyone know why this is occurring and how we can fix this?
g
See this thread