Join Slack
Powered by
What happened to GlobalScope.future{} ? I thought ...
# coroutines
k
kenkyee
02/11/2019, 10:15 PM
What happened to GlobalScope.future{} ? I thought that was the way to interop w/ Java so Java can call a coroutine?
b
bdawg.io
02/11/2019, 10:45 PM
It's still in the jdk8 integration module where it's always been
https://github.com/Kotlin/kotlinx.coroutines/blob/master/integration/kotlinx-coroutines-jdk8/src/future/Future.kt
k
kenkyee
02/12/2019, 12:19 AM
Thanks... Didn't realize it was in there...the main Kotlin globalscope docs don't mention it...
b
bdawg.io
02/12/2019, 4:16 AM
That’s because GlobalScope is just a generic CoroutineScope that ignores structured concurrency
8
Views
Open in Slack
Previous
Next