From 3e7466a86436a68afc06cc50a24d514da3c36311 Mon Sep 17 00:00:00 2001 From: Vsevolod Tolstopyatov Date: Mon, 24 Jan 2022 18:50:35 +0300 Subject: [PATCH] Fix typo in CoroutineDispatcher documentation Fixes #3110 --- kotlinx-coroutines-core/common/src/CoroutineDispatcher.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kotlinx-coroutines-core/common/src/CoroutineDispatcher.kt b/kotlinx-coroutines-core/common/src/CoroutineDispatcher.kt index c717d559e9..71b7ec726f 100644 --- a/kotlinx-coroutines-core/common/src/CoroutineDispatcher.kt +++ b/kotlinx-coroutines-core/common/src/CoroutineDispatcher.kt @@ -84,7 +84,7 @@ public abstract class CoroutineDispatcher : * // At most 2 threads will be processing images as it is really slow and CPU-intensive * private val imageProcessingDispatcher = backgroundDispatcher.limitedParallelism(2) * // At most 3 threads will be processing JSON to avoid image processing starvation - * private val imageProcessingDispatcher = backgroundDispatcher.limitedParallelism(3) + * private val jsonProcessingDispatcher = backgroundDispatcher.limitedParallelism(3) * // At most 1 thread will be doing IO * private val fileWriterDispatcher = backgroundDispatcher.limitedParallelism(1) * ```