Also, I was reading this <post> on stackoverflow a...
# coroutines
h
Also, I was reading this post on stackoverflow about Kotlin dispatcher, the answer state that Dispatcher.Default is meant for cpu intensive tasks, is there any document that state this?
j
It is explained in the post you linked, and in the documentation: https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-dispatchers/-default.html The dispatcher is backed by a pool of threads with as many threads as CPU cores, that's why you want it for things that use the CPU and not just block and wait
h
I see, thanks @Joffrey