Now depending on the nature of the blocking operat...
# coroutines
e
Now depending on the nature of the blocking operation (CPU bound/IO bound/etc) and the overall resource-management architecture of your application, you might want to replace
CommonPool
with some other appropriate dispatcher. You can always create a private dispatcher just for a certain class of operations in your app, for example:
Copy code
val computePool = newFixedThreadPoolContext(nThreadsForCompute, "compute")