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 Deferreds - in
effect, a "join" of multiple deferred operations.
The returned Deferred will
fire when all of the provided Deferreds 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 Deferreds 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 Deferreds 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) |