Module: Envoy::Client
- Defined in:
- lib/envoy/client/trunk.rb,
lib/envoy/client/channel.rb
Defined Under Namespace
Modules: Channel, Trunk Classes: Command, Config
Class Method Summary collapse
Class Method Details
.run(options = {}) ⇒ Object
54 55 56 57 58 59 60 61 62 63 |
# File 'lib/envoy/client/channel.rb', line 54 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 |