It is possible but somehow violates the contract of a work stealing pool. The general way to obtain single thread dispatcher is to do Executors.newSingleThreadExecutor().asCoroutineDispatcher()
.
It is possible but somehow violates the contract of a work stealing pool. The general way to obtain single thread dispatcher is to do Executors.newSingleThreadExecutor().asCoroutineDispatcher()
.