Sha256: c8bc4d1ac04d58b5b0fc6127fdd2886c90f0ffd297be0522a47bcdb9b4334e94

Contents?: true

Size: 206 Bytes

Versions: 1

Compression:

Stored size: 206 Bytes

Contents

# frozen_string_literal: true

require 'bundler/setup'
require 'polyphony'

def error(t)
  raise "hello #{t}"
end

def spin_with_error
  spin { error(2) }
end

spin_with_error

puts 'done coprocing'
suspend

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
polyphony-0.23 examples/core/spin_error.rb