Sha256: 6047234e858c9eb12540ec6aeccf79776ff86349843af21c5f811ce2e5159e27

Contents?: true

Size: 364 Bytes

Versions: 1

Compression:

Stored size: 364 Bytes

Contents

# frozen_string_literal: true

require 'rubygems'
require 'bundler/setup'

require 'zeitwerk'

loader = Zeitwerk::Loader.for_gem

loader.setup

require 'logger'

module RactorPool
  class << self
    def new(mapper_class:, jobs: Etc.nprocessors)
      Pool.new(jobs: jobs, mapper_class: mapper_class)
    end
  end
end

class RactorPool::Error < StandardError
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ractor_pool-0.1.1 lib/ractor_pool.rb