method

new

Importance_0
v5.1.7 - 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/redis.rb, line 57
          def initialize(adapter, event_loop)
            super()

            @adapter = adapter
            @event_loop = event_loop

            @subscribe_callbacks = Hash.new { |h, k| h[k] = [] }
            @subscription_lock = Mutex.new

            @raw_client = nil

            @when_connected = []

            @thread = nil
          end
Register or log in to add new notes.