[Twisted-Python] can addCallback accept list of deferreds?

Jean-Paul Calderone exarkun at divmod.com
Tue Jun 16 10:39:36 EDT 2009

On Tue, 16 Jun 2009 13:23:17 +0200, Pet <petshmidt at googlemail.com> wrote:
>I'm trying to process several items in callback function writeLog
>            d.addCallback(self.writeLog,g=g)
>see below.
>Can writeLog return DeferredList instead of Deferred?

Yes, it can.  Deferred and DeferredList are mostly interchangeable.


More information about the Twisted-Python mailing list