Skip to content
Sections
>> Trisquel >> 软件包 >> aramo >> ruby >> ruby-slow-enumerator-tools
nabia  ] [  aramo  ]
[ 源代码: ruby-slow-enumerator-tools  ]

软件包: ruby-slow-enumerator-tools (1.1.0-1.1)

transformation of Ruby enumerators to produce data slowly and unpredictably

This Ruby library provides tools for transforming Ruby enumerators that produce data slowly and unpredictably.

  * SlowEnumeratorTools.merge: given a collection of enumerables, creates a
    new enumerator that yields elements from any of these enumerables as soon
    as they become available.

  * SlowEnumeratorTools.batch: given an enumerable, creates a new enumerable
    that yields batches containing all elements currently available.

  * SlowEnumeratorTools.buffer: given an enumerable and a number, will create
    a buffer of that number of elements and try to fill it up with as many
    elements from that enumerable, so that they can be yielded immediately.

其他与 ruby-slow-enumerator-tools 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: ruby
    Interpreter of object-oriented scripting language Ruby (default version)
    或者 ruby-interpreter
    软件包暂时不可用

下载 ruby-slow-enumerator-tools

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 5.9 kB28 kB [文件列表]