# File lib/sinatra/async/test.rb, line 112 def em_hard_loop if EM.respond_to?(:tick_loop) EM.tick_loop { yield } else EM.add_periodic_timer(0.0001) { yield } end end