73 74 75
# File 'lib/right_agent/eventmachine_spawn.rb', line 73 def self.new(*args, &block) EM::PeriodicTimer.new(*args) { EM_S.fiber_pool ? EM_S.fiber_pool.spawn(&block) : yield } end