Flowdock
method

add_channel

Importance_0
v6.1.3.1 - 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 130
          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.