Class: ActionCable::SubscriptionAdapter::Async::AsyncSubscriberMap
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
|
|
Instance Chain:
|
|
Inherits: |
ActionCable::SubscriptionAdapter::SubscriberMap
|
Defined in: | actioncable/lib/action_cable/subscription_adapter/async.rb |
Class Method Summary
- .new(event_loop) ⇒ AsyncSubscriberMap constructor
::ActionCable::SubscriptionAdapter::SubscriberMap
- Inherited
Instance Method Summary
Constructor Details
.new(event_loop) ⇒ AsyncSubscriberMap
# File 'actioncable/lib/action_cable/subscription_adapter/async.rb', line 12
def initialize(event_loop) @event_loop = event_loop super() end
Instance Method Details
#add_subscriber
[ GitHub ]# File 'actioncable/lib/action_cable/subscription_adapter/async.rb', line 17
def add_subscriber(*) @event_loop.post { super } end
#invoke_callback
[ GitHub ]# File 'actioncable/lib/action_cable/subscription_adapter/async.rb', line 21
def invoke_callback(*) @event_loop.post { super } end