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

yusuf3000

11/07/2018, 10:39 AM
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

gildor

11/07/2018, 10:41 AM
See this thread
2 Views