method

new

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: Listener
new(adapter, event_loop) 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/subscription_adapter/postgresql.rb, line 74
          def initialize(adapter, event_loop)
            super()

            @adapter = adapter
            @event_loop = event_loop
            @queue = Queue.new

            @thread = Thread.new do
              Thread.current.abort_on_exception = true
              listen
            end
          end
Register or log in to add new notes.