instance method
detach
Ruby on Rails 6.1.7.10
Since v5.2.8.1Signature
detach(io, stream)
No documentation comment.
Parameters
-
ioreq -
streamreq
Source
# File actioncable/lib/action_cable/connection/stream_event_loop.rb, line 37
def detach(io, stream)
@todo << lambda do
@nio.deregister io
@map.delete io
io.close
end
wakeup
end
Defined in actioncable/lib/action_cable/connection/stream_event_loop.rb line 37
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionCable::Connection::StreamEventLoop