Skip to Content Skip to Search

class ActionCable::SubscriptionAdapter::Async::AsyncSubscriberMap

Inherits From

Public class methods

new(event_loop)

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

Public instance methods

add_subscriber(*)

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

invoke_callback(*)

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

Definition files