Skip to content

Commit

Permalink
Fix typo in CoroutineDispatcher documentation
Browse files Browse the repository at this point in the history
Fixes #3110
  • Loading branch information
qwwdfsad committed Jan 24, 2022
1 parent eac7bba commit 3e7466a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kotlinx-coroutines-core/common/src/CoroutineDispatcher.kt
Expand Up @@ -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)
* ```
Expand Down

0 comments on commit 3e7466a

Please sign in to comment.