Closed
Description
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.
- CommonDispatcher
- UnconfinedDispatcher
- SwingDispatcher
- JavaFXDispatcher
launch(CommonDispatcher) {
. . .
}