DispatchersDefault
DispatchersDefault, commonly referred to in code as Dispatchers.Default, is the default CoroutineDispatcher provided by the Kotlin Coroutines library for CPU‑bound work. It represents a shared pool of background threads separate from the main thread and is used automatically when no dispatcher is specified for a coroutine.
On the JVM, DispatchersDefault is backed by a thread pool sized to efficiently utilize available CPU cores.
Usage is straightforward for CPU‑intensive tasks: launch a coroutine with a context of Dispatchers.Default or wrap
DispatchersDefault is distinct from other dispatchers in the Kotlin Coroutines family. Dispatchers.IO provides a separate pool
Configuration and caveats: The parallelism of the Default dispatcher can be overridden via the system property