Sha256: b9dc20277e71e28ac31915d3029fdd1bbac76637fc026add4340c9b836772575

Contents?: true

Size: 154 Bytes

Versions: 2

Compression:

Stored size: 154 Bytes

Contents

# Require Gemfile gems
require_relative 'bootstrap'

thr1 = async do
  sleep 2
  4 * 2
end

calculation1 = thr1.value
calculation1 += 1
puts calculation1

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
asynchronous-4.0.1 examples/basic.rb
asynchronous-4.0.0 examples/basic.rb