File tree 1 file changed +2
-1
lines changed
kotlinx-coroutines-core/common/src
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,8 @@ public abstract class CoroutineDispatcher :
88
88
* // At most 1 thread will be doing IO
89
89
* private val fileWriterDispatcher = backgroundDispatcher.limitedParallelism(1)
90
90
* ```
91
- * is 6. Yet at most 4 coroutines can be executed simultaneously as each view limits only its own parallelism.
91
+ * Note how in this example the application has an executor with 4 threads, but the total sum of all limits
92
+ * is 6. Still, at most 4 coroutines can be executed simultaneously as each view limits only its own parallelism.
92
93
*
93
94
* Note that this example was structured in such a way that it illustrates the parallelism guarantees.
94
95
* In practice, it is usually better to use [Dispatchers.IO] or [Dispatchers.Default] instead of creating a
You can’t perform that action at this time.
0 commit comments