Skip to content

Dispatchers are renamed and grouped in the Dispatchers object #546

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 11, 2018

Conversation

elizarov
Copy link
Contributor

  • Dispatchers.Default — a default dispatcher for background asynchronous tasks
    (currently backed by FJP commonPool, a new dispatcher in the future).
  • Dispatchers.IO — a dispatcher for blocking background operations (IO thread pool for blocking calls #79).
  • Dispatchers.Main — a dispatcher for Android Main Thread (The name for the main Android dispatcher #533).
  • Dispatchers.Swing — a dispatcher for Swing Event Dispatch Thread.
  • Dispatchers.JavaFx — a dispatcher for JavaFx Application Thread.
  • Old dispatchers are deprecated, CommonPool is deprecated, too.
  • awaitPulse() in JavaFx and awaitFrame() in Android are top-level funs.
  • Introduced HandlerDispatcher, SwingDispatcher, and JavaFxDispatcher types
    in the corresponding UI modules for type-safety and future extensions

Fixes #41

@elizarov elizarov requested a review from qwwdfsad September 11, 2018 15:45
@elizarov elizarov changed the base branch from structured-concurrency-squash to develop September 11, 2018 16:18
* Dispatchers.Default — a default dispatcher for background asynchronous tasks
  (currently backed by FJP commonPool, a new dispatcher in the future).
* Dispatchers.IO — a dispatcher for blocking background operations (#79).
* Dispatchers.Main — a dispatcher for Android Main Thread (#533).
* Dispatchers.Swing — a dispatcher for Swing Event Dispatch Thread.
* Dispatchers.JavaFx — a dispatcher for JavaFx Application Thread.
* Old dispatchers are deprecated, CommonPool is deprecated, too.
* awaitPulse() in JavaFx and awaitFrame() in Android are top-level funs.
* Introduced HandlerDispatcher, SwingDispatcher, and JavaFxDispatcher types
  in the corresponding UI modules for type-safety and future extensions

Fixes #41
Fixes #533
@qwwdfsad qwwdfsad merged commit 82a5dfd into develop Sep 11, 2018
@qwwdfsad qwwdfsad deleted the dispatchers-rename branch September 12, 2018 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants