Methods

Class Public methods

new(event_loop)

📝 Source code
# File actioncable/lib/action_cable/subscription_adapter/async.rb, line 14
          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 19
          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 23
          def invoke_callback(*)
            @event_loop.post { super }
          end
🔎 See on GitHub