instance method
detach
Ruby on Rails 8.1.2
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 38
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 38
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionCable::Connection::StreamEventLoop