Part of twisted.internet.defer View Source View In Hierarchy
is a tool for collecting the results of several Deferreds.
This tracks a list of
their results, and makes a single callback when they have all completed.
By default, the ultimate result is a list of (success, result) tuples,
'success' being a boolean.
exposes the same API that
so callbacks and errbacks can be added to it in the same way.
See the documentation for the
is implemented by adding callbacks and errbacks to each
the list passed to it. This means callbacks and errbacks added to the
Deferreds before they are passed to
will change the result that
is not special). Callbacks and errbacks can also be added to the Deferreds
after they are passed to
may change the result that they see.
__init__arguments for more information.
|Method||__init__||Initialize a DeferredList.|
|Method||_cbDeferred||(internal) Callback for when one of my deferreds fires.|
Inherited from Deferred:
|Method||addCallbacks||Add a pair of callbacks (success and error) to this
|Method||addCallback||Convenience method for adding just a callback.|
|Method||addErrback||Convenience method for adding just an errback.|
|Method||addBoth||Convenience method for adding a single callable as both a callback and an errback.|
|Method||callback||Run all success callbacks that have been added to this
|Method||errback||Run all error callbacks that have been added to this
|Method||pause||Stop processing on a
|Method||unpause||Process all callbacks made since
|Method||__str__||Return a string representation of this
|Method||_continuation||Build a tuple of callback and errback with
|Method||_runCallbacks||Run the chain of callbacks once a result is available.|
|Parameters||deferredList||The list of deferreds to track.
|fireOnOneCallback||(keyword param) a flag indicating that this |
|fireOnOneErrback||(keyword param) a flag indicating that this |
|consumeErrors||(keyword param) a flag indicating that failures in any of the included