Registry / async / celluloid-io

celluloid-io

JSON →
library0.17.3rbrubygemsunverified

Evented IO for Celluloid actors, enabling asynchronous network operations.

gem install celluloid-io
INSTALL
IMPORT
SIG · CELLULOID-IO
C
celluloid-io
asyncrubyv0.17.3
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::IO
require 'celluloid/io'

Create an asynchronous TCP echo server using Celluloid::IO.

require 'celluloid/io' class EchoServer include Celluloid::IO def initialize(host, port) @server = TCPServer.new(host, port) async.run end def run loop { async.handle_connection @server.accept } end def handle_connection(socket) socket.write(socket.read) end end
Debug
Known issues
breakingCelluloid and Celluloid::IO are no longer actively maintained; consider alternatives like Async.
fix
Migrate to the 'async' gem or use Ruby's built-in Thread and Socket libraries.
affects: >= 0.17.0
Upgrade
Version history
0.17.3latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

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