method
attach
v5.0.0.1 -
Show latest stable
- Class:
ActionCable::Connection::StreamEventLoop
attach(io, stream)public
No documentation available.
# File actioncable/lib/action_cable/connection/stream_event_loop.rb, line 26
def attach(io, stream)
@todo << lambda do
@map[io] = stream
@nio.register(io, :r)
end
wakeup
end