t.f.s.Merge(Stage) : class documentation

Part of twisted.flow.stage View Source View In Hierarchy

Merges two or more Stages results into a single stream

For example:
   source = flow.Zip([1,flow.Cooperate(),2,3],["one","two"])
   printFlow(source)
Method __init__ Undocumented
Method _yield executed during a yield statement by previous stage

Inherited from Stage:

Method __iter__ Undocumented
Method next return current result
def __init__(self, *stages): (source)
Undocumented
def _yield(self): (source)

executed during a yield statement by previous stage

This method is private within the scope of the flow module, it is used by one stage in the flow to ask a subsequent stage to produce its value. The result of the yield is then stored in self.result and is an instance of Failure if a problem occurred.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 15:57:47.