Method: Celluloid::Actor#every

Defined in:
lib/celluloid/actor.rb

#every(interval, &block) ⇒ Object

Schedule a block to run at the given time



249
250
251
# File 'lib/celluloid/actor.rb', line 249

def every(interval, &block)
  @timers.every(interval) { task(:timer, &block) }
end