跳至内容 跳至搜索
方法
A
I
N

类公共方法

new(event_loop)

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

实例公共方法

add_subscriber(*)

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

invoke_callback(*)

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