Skip to content
Sections
>> Trisquel >> Paket >> nabia >> ruby >> ruby-slow-enumerator-tools
nabia  ] [  aramo  ]
[ Källkod: ruby-slow-enumerator-tools  ]

Paket: 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.

Andra paket besläktade med ruby-slow-enumerator-tools

  • beror
  • rekommenderar
  • föreslår
  • dep: ruby
    Interpreter of object-oriented scripting language Ruby (default version)
    eller ruby-interpreter
    Paketet inte tillgängligt

Hämta ruby-slow-enumerator-tools

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 5,8 kbyte28 kbyte [filförteckning]