Registry / networking / kgio
library2.11.4rbrubygemsunverified

Legacy non-blocking I/O methods for Ruby without raising exceptions on EAGAIN and EINPROGRESS.

gem install kgio
INSTALL
IMPORT
SIG · KGIO
K
kgio
networkingrubyv2.11.4
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.

Kgio
require 'kgio'

Accept a connection non-blockingly

require 'kgio' Kgio.accept(socket)
Debug
Known issues
breakingDeprecated for new projects; Ruby 2.3+ provides built-in non-blocking I/O.
fix
Use Ruby's built-in IO#read_nonblock and IO#write_nonblock instead.
affects: >= 2.11.0
Upgrade
Version history
2.11.4latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
kgio — gem install kgio · libregistry