Skip to content

CoroutineDispatcher's names #41

Closed
Closed
@fvasco

Description

@fvasco

CoroutineDispatcher's names are too heterogeneous (CommonPool, Unconfined) and programmer isn't helped to collate these in the same hierarchy.
Other CoroutineDispatchers have too common name (Swing, JavaFX) and are subjects to name clash: Look And Feel engine can also expose "Swing" and "JavaFX" singletons.

My prosose is to define a common suffix like "CoroutineDispatcher", "CDispatcher" or simply "Dispatcher" to grouping names.

I.E.

  1. CommonDispatcher
  2. UnconfinedDispatcher
  3. SwingDispatcher
  4. JavaFXDispatcher
launch(CommonDispatcher) {
    . . .
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions