Sha256: 75089b7138979694adc0a27e07049f3a24ec719fa7b65820078a12073af33be2
Contents?: true
Size: 322 Bytes
Versions: 1
Compression:
Stored size: 322 Bytes
Contents
module NodeRb class << self def once timeout, &block NodeRb.once_native(timeout * 1000, 0, block) end def repeat repeat, handler, timeout = nil timeout ||= repeat NodeRb.once_native(timeout * 1000, repeat * 1000, handler) end end module Timer def call end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
noderb-0.0.12 | lib/noderb/timers.rb |