Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> ruby >> ruby-slow-enumerator-tools
nabia  ] [  aramo  ]
[ 原始碼: ruby-slow-enumerator-tools  ]

套件: ruby-slow-enumerator-tools (1.1.0-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.8 kB28 kB [文件列表]