Flavio Percoco 572a6296e0 Return a consumer function instead of consuming
Former implementation was called consume_for and used to consume the
whole pipeline. This implementation returns a callable function instead
which makes it possible for wrapped methods to have a `method` keyword
and to control / reuse the consumer.

Implements blueprint storage-pipeline

Change-Id: I8d7ad43028b5615b24f06ca1e116e35e5ab6a145
2013-10-17 16:22:08 +02:00
..
2013-10-11 20:06:35 -07:00