Namespace
Methods
P
T
Instance Public methods
post(task = nil, &block)
# File actioncable/lib/action_cable/connection/faye_event_loop.rb, line 17
def post(task = nil, &block)
  task ||= block

  ensure_reactor_running
  ::EM.next_tick(&task)
end
timer(interval, &block)
# File actioncable/lib/action_cable/connection/faye_event_loop.rb, line 12
def timer(interval, &block)
  ensure_reactor_running
  EMTimer.new(::EM::PeriodicTimer.new(interval, &block))
end