Method: ActionCable::SubscriptionAdapter::SubscriberMap#add_channel

Defined in:
actioncable/lib/action_cable/subscription_adapter/subscriber_map.rb

#add_channel(channel, on_success) ⇒ Object



47
48
49
# File 'actioncable/lib/action_cable/subscription_adapter/subscriber_map.rb', line 47

def add_channel(channel, on_success)
  on_success.call if on_success
end