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

coder82

08/22/2019, 2:39 PM
Whet's the difference between these ways of launching a coroutine?
s

streetsofboston

08/22/2019, 2:40 PM
The first is a function, the second one a statement (expression)
The first runs with any given CoroutineScope. The second one is a particular one, that has an empty context.
👍 1
c

coder82

08/22/2019, 2:44 PM
perfect, I was confused... took me 1-2 minuts to figure out your answer then it clicked.
5 Views