https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
j

Joey

12/09/2019, 6:43 AM
Hi guys! I already implemented coroutine for jdk8 in my common dependencies. But i can't seem to use
GlobalScope.future
P.S. Im developing a library for android and iOS
s

Sebastian Sellmair [JB]

12/09/2019, 7:18 AM
You might want to add the jdk8 dependency only for the jvm source sets instead of commonMain. But you won’t see jvm specific functions in your common code!
j

Joey

12/09/2019, 7:25 AM
So this isn't compatible with multiplatform
Thanks!
2 Views