Sha256: dce118d5552efeb6dd205065a9dc8e5a1020c290e7a64fc2d744a57c9030772b
Contents?: true
Size: 288 Bytes
Versions: 1
Compression:
Stored size: 288 Bytes
Contents
module NodeRb class << self def next_tick &block ( @next_tick ||= [] ) << block NodeRb.native_next_tick end def next_tick_execute blocks, @next_tick = @next_tick, [] blocks.each do |block| block.call end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
noderb-0.0.3 | lib/noderb/next_tick.rb |