method

attach

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 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 28
      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.