Part of twisted.flow.wrap View Source View In Hierarchy
Wrapper for lists and tuple objects; don't create directly
A simple stage, which admits the usage of instructions, such as Cooperate() within the list. This would be much simpler without logic to handle instructions.Split Table into Classes Show Methods in One Table
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 40 | Method | __init__ | Undocumented |
| 43 | Method | _yield | executed during a yield statement by previous stage |
Inherited from Stage:
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 170 | Method | __iter__ | Undocumented |
| 173 | Method | next | return current result |
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 40 | Method | __init__ | Undocumented |
| 170 | Method | __iter__ | Undocumented |
| 173 | Method | next | return current result |
| 43 | Method | _yield | executed during a yield statement by previous stage |
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.