are there any major difference between `<http://Di...
# coroutines
m
are there any major difference between
<http://Dispatchers.IO|Dispatchers.IO>
and
Dispatchers.DEFAULT
that one needs to know about
d
<http://Dispatchers.IO|Dispatchers.IO>
should be used for blocking operations and
Dispatchers.DEFAULT
should be used for non-blocking.
e
Yes.
Default
is for CPU-intensive tasks and is limited by the # of CPU cores, while
IO
is for blocking operations that are not supposed to consume CPU (by default it is configured to support 64 concurrent operations)
👍 2
m
👍