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:
=

安装:
=

版本列表:

  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.0 KB)
  4. 0.1.1 October 12, 2014 (13.5 KB)
  5. 0.1.0 October 11, 2014 (13.5 KB)

所有者:

作者:

  • Knut Franke

SHA 256 校验和:

=

下载总量 14,657

这个版本 2,788

版本发布:

许可:

Ruby, BSD-2-Clause

需要的 Ruby 版本: >= 0

链接: