method

add_channel

rails latest stable - Class: ActionCable::SubscriptionAdapter::Redis::Listener
add_channel(channel, on_success)
public

No documentation available.

# File actioncable/lib/action_cable/subscription_adapter/redis.rb, line 138
          def add_channel(channel, on_success)
            @subscription_lock.synchronize do
              ensure_listener_running
              @subscribe_callbacks[channel] << on_success
              when_connected { @subscribed_client.subscribe(channel) }
            end
          end