When i tried moving `val customScopeLocal = Corout...
# coroutines
n
When i tried moving
val customScopeLocal = CoroutineScope(<http://Dispatchers.IO|Dispatchers.IO> + MDCContext())
to companion object block, it did not lauch any coroutine
🧵 2
e
possibly you launched something which failed and cancelled the scope. then all further launches are also cancelled
thank you color 1
k
Also, you need to call
MDCContext()
just before you call a suspending function. If you have it in a companion object, it will only be called once.
thank you color 1
n
Thanks for responding!