全部搜索项
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 源代码: ruby-nio4r  ]

软件包:ruby-nio4r(2.7.3-1)

ruby-nio4r 的相关链接

Screenshot

Debian 的资源:

下载源码包 ruby-nio4r

维护小组:

外部的资源:

相似软件包:

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.

其他与 ruby-nio4r 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • 增强

下载 ruby-nio4r

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
arm64 109.2 kB508.0 kB [文件列表]