method

attach

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: StreamEventLoop
attach(io, stream) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.