Module: RactorPool
- Defined in:
- lib/ractor_pool.rb,
lib/ractor_pool/version.rb
Defined Under Namespace
Modules: Reducers Classes: Channel, Error, Mapper, Pool, Reducer, Worker
Constant Summary collapse
- VERSION =
'0.1.1'
Class Method Summary collapse
Class Method Details
.new(mapper_class:, jobs: Etc.nprocessors) ⇒ Object
16 17 18 |
# File 'lib/ractor_pool.rb', line 16 def new(mapper_class:, jobs: Etc.nprocessors) Pool.new(jobs: jobs, mapper_class: mapper_class) end |