twisted.internet.defer.gatherResults(deferredList, consumeErrors=False)
function documentationtwisted.internet.defer
View Source
Returns, via a Deferred
, a
list with the results of the given Deferred
s - in
effect, a "join" of multiple deferred operations.
The returned Deferred
will
fire when all of the provided Deferred
s have
fired, or when any one of them has failed.
This method can be cancelled by calling the cancel
method
of the Deferred
, all
the Deferred
s in
the list will be cancelled.
This differs from DeferredList
in that you don't need to parse the result for success/failure.
Parameters | consumeErrors | (keyword param) a flag, defaulting to False, indicating that failures in
any of the given Deferreds should not be propagated to
errbacks added to the individual Deferreds after this gatherResults
invocation. Any such errors in the individual Deferred s will
be converted to a callback result of None . This is useful to
prevent spurious 'Unhandled error in Deferred' messages from being logged.
This parameter is available since 11.1.0. (type: bool ) |