-
Notifications
You must be signed in to change notification settings - Fork 129
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
Custom Executor Injection #15
Comments
That's a long postponed feature.
I'll just ask you to be mindful not to add any new external compile or runtime dependency to ea-async. |
I had the same question, and then I found this, which might solve the problem for Vert.x at least, although it sets up a new fork-join pool rather than using Vert.x's thread pool: https://github.com/cescoffier/vertx-completable-future There might be some parts of that codebase that could be added directly to EA Async to enable async/await on top of a |
We're certainly open to any PRs etc that support additional functionality such as this, but we have no plans to add this to the library ourselves at this time. |
I think you really did a fantastic job.
According to you, Is it possibile to inject, somehow, a custom Executor to let the generated CompletableFutures asynchronously run into a specific Context (in my case, Vert.x)?
If a lib verticalization is needed, what point of the source do you suggest to edit?
The text was updated successfully, but these errors were encountered: