Class t.f.w._Deferred(Stage):

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

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.

Split Table into Classes Show Methods in One Table

Line # Kind Name Docs
121 Method __init__ Undocumented
127 Method _callback Undocumented
131 Method _errback Undocumented
135 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
121 Method __init__ Undocumented
170 Method __iter__ Undocumented
173 Method next return current result
127 Method _callback Undocumented
131 Method _errback Undocumented
135 Method _yield executed during a yield statement by previous stage
def __init__(self, deferred, *trap): (source)
Undocumented
def _callback(self, res): (source)
Undocumented
def _errback(self, fail): (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 2008-10-26 16:12:37.