alla flaggor
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Källkod: ruby-nio4r  ]

Paket: ruby-nio4r (2.3.1-2 och andra)

Länkar för ruby-nio4r

Screenshot

Debianresurser:

Hämta källkodspaketet ruby-nio4r:

Ansvariga:

Externa resurser:

Liknande paket:

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 Kernel.select, 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.

Andra paket besläktade med ruby-nio4r

  • beror
  • rekommenderar
  • föreslår
  • enhances

Hämta ruby-nio4r

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Version Paketstorlek Installerad storlek Filer
amd64 2.3.1-2+b1 42,5 kbyte133,0 kbyte [filförteckning]
arm64 2.3.1-2+b1 40,4 kbyte125,0 kbyte [filförteckning]
armel 2.3.1-2+b1 39,2 kbyte121,0 kbyte [filförteckning]
armhf 2.3.1-2+b1 36,8 kbyte101,0 kbyte [filförteckning]
i386 2.3.1-2+b1 44,4 kbyte137,0 kbyte [filförteckning]
mips64el 2.3.1-2+b1 39,3 kbyte133,0 kbyte [filförteckning]
mipsel 2.3.1-2+b1 38,4 kbyte127,0 kbyte [filförteckning]
ppc64el 2.3.1-2+b1 44,4 kbyte181,0 kbyte [filförteckning]
s390x 2.3.1-2+b1 40,0 kbyte133,0 kbyte [filförteckning]