You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 7, 2018. It is now read-only.
Looking at here, there is a feature missing to wait on more than one socket, something like IO.select([ios]), but tailored to celluloid-io.
I was picturing maybe exposing the #select method from the reactor selector instance (there should be only one per actor, therefore something like Actor.current.select(), which doesn't necessarily have to follow the same ruby IO.select API.
This is supposed to handle the case in which one has to listen to events on the session socket and eventually the forwarding socket, the gateway socket, etc. It would be cool if one could expose the event loop and monitor more than one socket (or maybe what one needs is multi-socket Monitors? nio4r?).
I'm a bit lost in how this API could look and whether the internals allow this, I just wanted to see if there's some limitation I'm missing.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Looking at here, there is a feature missing to wait on more than one socket, something like
IO.select([ios])
, but tailored to celluloid-io.I was picturing maybe exposing the #select method from the reactor selector instance (there should be only one per actor, therefore something like
Actor.current.select()
, which doesn't necessarily have to follow the same ruby IO.select API.use case
net-ssh v4 will come with an internal event loop: https://github.com/net-ssh/net-ssh/blob/master/lib/net/ssh/connection/event_loop.rb .
This is supposed to handle the case in which one has to listen to events on the session socket and eventually the forwarding socket, the gateway socket, etc. It would be cool if one could expose the event loop and monitor more than one socket (or maybe what one needs is multi-socket Monitors? nio4r?).
I'm a bit lost in how this API could look and whether the internals allow this, I just wanted to see if there's some limitation I'm missing.
The text was updated successfully, but these errors were encountered: