RubyGems Navigation menu

coroutines 0.1.1

A library for creating and composing producer/transformer/consumer coroutines. Producers are already provided by Ruby's built-in Enumerator class; this library provides Transformer and Consumer classes that work analogously. In particular, they are also based on Fiber and not on threads (as in some other producer/consumer libraries). Also provides a module Sink, which is analogous to Enumerable, and Enumerable/Transformer/Sink composition using overloaded <= and >= operators.

Gemfile:
=

instalar:
=

Versiones:

  1. 0.2.2 October 15, 2014 (15,5 KB)
  2. 0.2.1 October 14, 2014 (15,5 KB)
  3. 0.2.0 October 12, 2014 (15 KB)
  4. 0.1.1 October 12, 2014 (13,5 KB)
  5. 0.1.0 October 11, 2014 (13,5 KB)

Propietarios:

Autores:

  • Knut Franke

SHA 256 checksum:

=

Total de descargas 14.657

Para esta versión 2.788

Versión publicada:

Licencias:

Ruby, BSD-2-Clause

Versión de Ruby requerida: >= 0

Enlace: