When you have something like this: ``` val dispatc...
# coroutines
a
When you have something like this:
Copy code
val dispatcher = Executors.newFixedThreadPool(64).asCoroutineDispatcher()

runBlocking(dispatcher) {
    launch {
        // do something
    }
}
I thought
launch
in the example would automatically inherit the
dispatcher
, but I see
launch
uses the
CommonPool
if it is implemented like this. Is there a way that this automatically inherits the parents dispatcher or should it always be used like this
launch(coroutineContext)
?
e
👍 3