Skip to content
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

Refactor Worker API to use Java 8 Futures APIs #40

Open
prokopyl opened this issue Nov 12, 2020 · 0 comments
Open

Refactor Worker API to use Java 8 Futures APIs #40

prokopyl opened this issue Nov 12, 2020 · 0 comments
Labels
C ⋅ Workers Component – Workers M ⋅ Outdated Java API Miscelaneous – Tracks removal of deprecated/outdated/useless code due to a newer Java API

Comments

@prokopyl
Copy link
Member

Although much better than the previous alternatives, now that Java 8 is out and usable it seems decent bit of the Worker API (mainly the WorkerRunnable class) is redundant with standard Future APIs.

Some work could probably be done to use the standard APIs instead, and reduce the amount of code in the Worker component.

@prokopyl prokopyl added C ⋅ Workers Component – Workers M ⋅ Outdated Java API Miscelaneous – Tracks removal of deprecated/outdated/useless code due to a newer Java API labels Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C ⋅ Workers Component – Workers M ⋅ Outdated Java API Miscelaneous – Tracks removal of deprecated/outdated/useless code due to a newer Java API
Projects
None yet
Development

No branches or pull requests

1 participant