module EventMachine::Synchrony
def self.add_periodic_timer(interval, &blk)
to allow you to continue using synchrony methods
block within a new fiber (new fiber on every invocation)
Fiber-aware EventMachine timer: wraps the passed in
def self.add_periodic_timer(interval, &blk) EM.add_periodic_timer(interval) do Fiber.new { blk.call }.resume end end