Class | EventMachine::Timer |
In: |
lib/em/timers.rb
|
Parent: | Object |
Creates a one-time timer
timer = EventMachine::Timer.new(5) do # this will never fire because we cancel it end timer.cancel