Sha256: 13ca8cd654798e722a0e01cfa6d69a0a28ea19d6863085984409758037635e68
Contents?: true
Size: 231 Bytes
Versions: 2
Compression:
Stored size: 231 Bytes
Contents
# frozen_string_literal: true class RactorPool::Reducer attr_reader :result, :logger def initialize(logger:) @logger = logger @result = initial_value end def initial_value raise NotImplementedError end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ractor_pool-0.1.1 | lib/ractor_pool/reducer.rb |
ractor_pool-0.1.0 | lib/ractor_pool/reducer.rb |