Sha256: 802bc9134f973b38c85b33162f9cdfb1483afae9f171a2fb5fc7a1029c623bb3

Contents?: true

Size: 132 Bytes

Versions: 4

Compression:

Stored size: 132 Bytes

Contents

fs = []
100 times: |i| {
  f = { Thread sleep: 0.5; i println } @ call
  fs << f
}

"Waiting" println
fs each: 'value
"Done" println

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fancy-0.7.0 examples/futures.fy
fancy-0.6.0 examples/futures.fy
fancy-0.5.0 examples/futures.fy
fancy-0.4.0 examples/futures.fy