Sha256: bd4a7e7329b1fb12a4fc7a95bd757d2faf47af0c49b365f56953dca24aa8c4a7

Contents?: true

Size: 153 Bytes

Versions: 121

Compression:

Stored size: 153 Bytes

Contents

# frozen_string_literal: true

require 'bundler/setup'
require 'polyphony'

puts 'going to sleep...'
Timeout.timeout(1) do
  sleep 60
end
puts 'woke up'

Version data entries

121 entries across 121 versions & 1 rubygems

Version Path
polyphony-1.6 examples/core/timeout.rb
polyphony-1.5 examples/core/timeout.rb
polyphony-1.4 examples/core/timeout.rb
polyphony-1.3 examples/core/timeout.rb
polyphony-1.2.1 examples/core/timeout.rb
polyphony-1.2 examples/core/timeout.rb
polyphony-1.1.1 examples/core/timeout.rb
polyphony-1.1 examples/core/timeout.rb
polyphony-1.0.2 examples/core/timeout.rb
polyphony-1.0.1 examples/core/timeout.rb
polyphony-1.0 examples/core/timeout.rb
polyphony-0.99.6 examples/core/timeout.rb
polyphony-0.99.5 examples/core/timeout.rb
polyphony-0.99.4 examples/core/timeout.rb
polyphony-0.99.3 examples/core/timeout.rb
polyphony-0.99.2 examples/core/timeout.rb
polyphony-0.99.1 examples/core/timeout.rb
polyphony-0.99 examples/core/timeout.rb
polyphony-0.98 examples/core/timeout.rb
polyphony-0.97 examples/core/timeout.rb