method

add_channel

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: Listener
add_channel(channel, on_success) 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 128
          def add_channel(channel, on_success)
            @subscription_lock.synchronize do
              ensure_listener_running
              @subscribe_callbacks[channel] << on_success
              when_connected { send_command("subscribe", channel) }
            end
          end
Register or log in to add new notes.