Skip to Content Skip to Search

class ActionCable::SubscriptionAdapter::Async::AsyncSubscriberMap

Inherits From

Public class methods

Source code GitHub
# File actioncable/lib/action_cable/subscription_adapter/async.rb, line 14
def initialize(event_loop)
  @event_loop = event_loop
  super()
end

Public instance methods

Source code GitHub
# File actioncable/lib/action_cable/subscription_adapter/async.rb, line 19
def add_subscriber(*)
  @event_loop.post { super }
end
Source code GitHub
# File actioncable/lib/action_cable/subscription_adapter/async.rb, line 23
def invoke_callback(*)
  @event_loop.post { super }
end

Definition files