Sha256: 6ffde59239fca1ed953bcc7593b51c26be94c89cdd70d3e5485b4826593cd261
Contents?: true
Size: 221 Bytes
Versions: 141
Compression:
Stored size: 221 Bytes
Contents
require File.dirname(__FILE__) + '/helper' EM.run do array = (1..100).to_a tickloop = EM.tick_loop do if array.empty? :stop else puts array.shift end end tickloop.on_stop { EM.stop } end
Version data entries
141 entries across 138 versions & 12 rubygems