all options
jessie  ] [  jessie-backports  ] [  stretch  ] [  buster  ] [  sid  ]
[ Source: ruby-nio4r  ]

Package: ruby-nio4r (1.2.1-1 and others)

Links for ruby-nio4r


Debian Resources:

Download Source Package ruby-nio4r:


External Resources:

Similar packages:

Ruby library providing a selector API for monitoring IO objects

nio4r (New IO for Ruby) provides an abstract, cross-platform stateful I/O selector API for Ruby. I/O selectors are the heart of "reactor"-based event loops, and monitor multiple I/O objects for various types of readiness, e.g. ready for reading or writing.

The most similar API provided by Ruby today is, however the select API requires you to pass in arrays of all of the I/O objects you're interested in every time. nio4r provides a more object-oriented API that lets you register I/O objects with a selector then handle them when they're selected for various types of events.

nio4r is modeled after the Java NIO API, but simplified for ease-of-use.

Its goals are:

 * Expose high-level interfaces for stateful IO selectors.
 * Keep the API small to maximize both portability and performance across
   many different OSes and Ruby VMs.
 * Provide inherently thread-safe facilities for working with IO objects.

Other Packages Related to ruby-nio4r

  • depends
  • recommends
  • suggests
  • enhances

Download ruby-nio4r

Download for all available architectures
Architecture Version Package Size Installed Size Files
amd64 1.2.1-1+b1 40.7 kB180.0 kB [list of files]
arm64 1.2.1-1+b1 35.3 kB164.0 kB [list of files]
armel 1.2.1-1+b1 38.4 kB172.0 kB [list of files]
armhf 1.2.1-1+b1 35.6 kB132.0 kB [list of files]
i386 1.2.1-1+b1 49.2 kB184.0 kB [list of files]
mips 1.2.1-1+b1 37.2 kB182.0 kB [list of files]
mips64el 1.2.1-1+b1 37.9 kB186.0 kB [list of files]
mipsel 1.2.1-1+b1 37.9 kB182.0 kB [list of files]
ppc64el 1.2.1-1+b1 38.4 kB308.0 kB [list of files]
s390x 1.2.1-1+b1 39.0 kB188.0 kB [list of files]