instance method detach

Ruby on Rails edge

Since edge

Signature

detach(io)

No documentation comment.

Parameters

io req
stream req
Source
# File actioncable/lib/action_cable/server/stream_event_loop.rb, line 27
      def detach(io)
        @todo << lambda do
          @nio.deregister io
          @map.delete io
          io.close
        end
        wakeup
      end

Defined in actioncable/lib/action_cable/server/stream_event_loop.rb line 27 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionCable::Server::StreamEventLoop

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close