class Net::SSH::Connection::EventLoop
Public Instance Methods
process(wait = nil, &block)
click to toggle source
Same as Net::SSH
except it never tries to wait on IO. This basically always blocks the current fiber now until a packet is available. Connection#loop is called in a dedicated fiber who's purpose is to distribute the packets as they come in.
# File lib/evented-ssh/connection/event_loop.rb, line 11 def process(wait = nil, &block) return false unless ev_preprocess(&block) #ev_select_and_postprocess(wait) end