Methods

Class Public methods

new(event_loop)

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

Instance Public methods

add_subscriber(*)

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

invoke_callback(*)

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