method
attach
v7.0.0 -
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 29
def attach(io, stream)
@todo << lambda do
@map[io] = @nio.register(io, :r)
@map[io].value = stream
end
wakeup
end