Sha256: 1c969a1472519f178de82b589cb37fea304f65860c598daf9ad92ae91360f980
Contents?: true
Size: 320 Bytes
Versions: 20
Compression:
Stored size: 320 Bytes
Contents
# frozen_string_literal: true require 'fiber' module Bolt class Yarn attr_reader :fiber, :value, :index def initialize(fiber, index) @fiber = fiber @index = index @value = nil end def alive? fiber.alive? end def resume @value = fiber.resume end end end
Version data entries
20 entries across 20 versions & 1 rubygems