Registry / async / celluloid-pool

celluloid-pool

JSON →
library0.20.5rbrubygemsunverified

An implementation of an actor pool, based on the Celluloid concurrent object framework.

gem install celluloid-pool
INSTALL
IMPORT
SIG · CELLULOID-POOL
C
celluloid-pool
asyncrubyv0.20.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Celluloid::Pool
require 'celluloid/pool'

Create a pool of 5 worker actors and process a task.

require 'celluloid/pool' class Worker include Celluloid def process(task) "Processed #{task}" end end pool = Worker.pool(size: 5) future = pool.future.process("task1") puts future.value
Debug
Known issues
breakingCelluloid is no longer actively maintained and may have compatibility issues with Ruby 3.0+.
fix
Consider using alternative concurrency libraries like Concurrent Ruby or Async.
affects: >= 0.20.0
Upgrade
Version history
0.20.5latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
44 hits · last 30 days
node
40
OpenAI (training)
1
Resources
celluloid-pool — gem install celluloid-pool · libregistry