Home | Trees | Index | Help |
---|
Package twisted :: Package flow :: Module wrap :: Class _Deferred |
|
Instruction
--+ |Stage
--+ | _Deferred
Wraps a Deferred object into a stage; create with flow.wrap
This stage provides a callback 'catch' for errback and callbacks. If not called, then this returns an Instruction which will let the reactor execute other operations, such as the producer for this deferred.Method Summary | |
---|---|
__init__(self,
deferred,
*trap)
| |
__iter__(self)
(inherited from Stage )
| |
return current result (inherited from Stage )
| |
_callback(self,
res)
| |
_errback(self,
fail)
| |
executed during a yield statement by previous stage |
Class Variable Summary | |
---|---|
class |
Instruction
|
Method Details |
---|
_yield(self)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.
|
Class Variable Details |
---|
InstructionInstruction = twisted.flow.wrap.Instruction
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Fri Jun 27 03:49:21 2003 | http://epydoc.sf.net |