https://kotlinlang.org logo
Title
c

chansek

04/16/2019, 10:31 AM
Unable to understand this
j

JoakimForslund

04/16/2019, 10:33 AM
Whats described below is correct
o

octylFractal

04/16/2019, 10:33 AM
coroutineScope
blocks until everything inside finishes, like a
while
or
for
loop would: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/coroutine-scope.html
👍 1
I don't think that behavior relies on
runBlocking
, but I could be wrong
g

gildor

04/16/2019, 10:33 AM
coroutineScope
blocks
Suspends, not blocks
o

octylFractal

04/16/2019, 10:33 AM
ah, yes
g

gildor

04/16/2019, 10:34 AM
Yes, Kenzie is correct, this behavior has nothing to do with runBlocking and context, only to coroutineScope function semantics
👍 1