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

Alexjok

10/15/2019, 8:14 AM
Hello, wich way is better for run global coroutine? And do we have another opportunity to GlobalScope.launch?
g

gildor

10/15/2019, 9:21 AM
If you need global, just use GlobalScope
a

Alexjok

10/15/2019, 10:48 AM
thx)
z

zak.taccardi

10/15/2019, 2:20 PM
if you need global, you should still have your own coroutine scope to manage that
g

gildor

10/15/2019, 3:03 PM
Yes, if you really manage it, otherwise it’s just boilerplate
2 Views