method

add_channel

add_channel(channel, on_success)
public

No documentation available.

# 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