Flowdock
method

add_channel

Importance_0
v6.0.0 - 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 131
          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.