instance method
ensure_reactor_running
Ruby on Rails 5.0.7.2
Since v5.0.7.2 Last seen in v5.0.7.2 Private — implementation detail, not part of the public APISignature
ensure_reactor_running()
No documentation comment.
Source
# File actioncable/lib/action_cable/connection/faye_event_loop.rb, line 25
def ensure_reactor_running
return if EventMachine.reactor_running?
@@mutex.synchronize do
Thread.new { EventMachine.run } unless EventMachine.reactor_running?
Thread.pass until EventMachine.reactor_running?
end
end
Defined in actioncable/lib/action_cable/connection/faye_event_loop.rb line 25
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionCable::Connection::FayeEventLoop