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

dave08

07/28/2019, 2:57 PM
shouldn't it be
coroutineScope { async(executor.asCoroutineDispatcher()) { ... } }
or is there a difference?
d

Dominaezzz

07/28/2019, 3:05 PM
coroutineScope { }
should mostly only be used to spawn multiple coroutines.
d

dave08

07/28/2019, 3:08 PM
Because it has more overhead, I suppose, which is why you said to just use
GlobalScope
... makes sense, thanks again!
3 Views