Closed
Description
In general, we received mostly positive feedback about the API shape, and there is no reason to keep it experimental any further.
Few things to address during stabilization:
- Ensure that doc explicitly states that it limits parallelism and not the number of threads (e.g.
limitedParallelism(1)
does not re-use the same thread all the time) - Ensure that
CoroutineContext
indispatch
is either transparent or that it can be transparent to the underlying dispatcher to control scheduling tweaks - Document
isDispatchNeeded
and unconfined-like behaviour for limited parallelism - Mention
limitedParallelism(1)
properties - Consider Ability to specify a limited dispatcher name #4023