Sha256: 30a1c9687516a5c9b67cb95f9af09722b86bd6c233eadc6ee138f5d02c47f65e
Contents?: true
Size: 296 Bytes
Versions: 7
Compression:
Stored size: 296 Bytes
Contents
module NodeRb class << self def next_tick &block ( @next_tick ||= [] ) << block NodeRb.send(:next_tick_native) end def next_tick_execute blocks, @next_tick = @next_tick, [] blocks.each do |block| block.call end end end end
Version data entries
7 entries across 7 versions & 1 rubygems