Skip to content

Stabilize CoroutineDispatcher.limitedParallelism #3864

Closed
@qwwdfsad

Description

@qwwdfsad

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 in dispatch 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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions