Sha256: 4c5243764d7f74d35624807875984a77d875c0dc6701d21d197df5837e1c7f27
Contents?: true
Size: 261 Bytes
Versions: 5
Compression:
Stored size: 261 Bytes
Contents
Poor Man's Fiber (API compatible Thread based Fiber implementation for Ruby 1.8) (c) 2008 Aman Gupta (tmm1) == Usage f = Fiber.new{ |sym| p(sym) puts 'hi' p(Fiber.yield 1) puts 'bye' :end } p(f.resume :begin) p(f.resume 2) :begin hi 1 2 bye :end
Version data entries
5 entries across 5 versions & 2 rubygems