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

nwh

10/22/2018, 9:01 PM
Why isn't
withContext
an extension on
CoroutineScope
? Don't `launch`/`async` do more than just switch context?
e

elizarov

10/22/2018, 9:20 PM
withContext
is a suspending function. It captures parent context and suspends execution util all its children complete.
4 Views