Module: Envoy::Client
- Defined in:
- lib/envoy/client/trunk.rb,
lib/envoy/client/channel.rb
Defined Under Namespace
Class Method Summary collapse
Class Method Details
.run(options = {}) ⇒ Object
80 81 82 83 84 85 86 87 88 89 |
# File 'lib/envoy/client/channel.rb', line 80 def self.run ( = {}) unless EM.reactor_running? EM.run do EM.add_periodic_timer(0.1) do $reloader.(0) end EM.connect [:server_host], [:server_port], self, end end end |