Method: ActionCable::SubscriptionAdapter::SubscriberMap#add_channel
- Defined in:
- actioncable/lib/action_cable/subscription_adapter/subscriber_map.rb
#add_channel(channel, on_success) ⇒ Object
49 50 51 |
# File 'actioncable/lib/action_cable/subscription_adapter/subscriber_map.rb', line 49 def add_channel(channel, on_success) on_success.call if on_success end |