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
Expose the event loop group fn separately #287
Comments
Is this for the purposes of code simplification, or reuse of this logic elsewhere? |
Both, I guess; but mostly about reuse. E.g. I'm using Netty's DNS resolution with a little Clojure rubbed on it, and I want that functionality as well :) I also realized why epoll and native are separate right now -- you want to be able to control which one gets used on each new client/server, not once-per-process. Right? |
That was the idea, though I'm not sure if that's actually useful in practice. For what it's worth, I do have a yet-to-be-finished |
Nifty. Is that available somewhere or hiding on your laptop? (I'm guessing you have more than I; all I have really is a fn that wraps |
Since we introduced
While those should be considered implementation details in Aleph as the internals are not encapsulated inside a dedicated namespace (e.g: |
Aleph has some cool functionality for automatically picking the right event loop. Two suggestions:
nio
orepoll
could be done inside the delaycreate-client
In conclusion, I'm suggesting:
If you have any opinions on how this ought to be done, I am volunteering to write the code for this.
The text was updated successfully, but these errors were encountered: