instance method
attach
Ruby on Rails edge
Since edgeSignature
attach(io, stream)
No documentation comment.
Parameters
-
ioreq -
streamreq
Source
# File actioncable/lib/action_cable/server/stream_event_loop.rb, line 19
def attach(io, stream)
@todo << lambda do
@map[io] = @nio.register(io, :r)
@map[io].value = stream
end
wakeup
end
Defined in actioncable/lib/action_cable/server/stream_event_loop.rb line 19
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionCable::Server::StreamEventLoop