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

vineethraj49

11/05/2019, 1:05 AM
Can I add my custom element to
coroutineContext
like
coroutineContext[Job]
that propagates to all children; if yes, are there any pointers for doing the same?
o

octylFractal

11/05/2019, 1:20 AM
I'm pretty sure that's the default behaviour, see `launch`:
The coroutine context is inherited from a CoroutineScope. Additional context elements can be specified with context argument.
3 Views