[Twisted-Python] can addCallback accept list of deferreds?
Jean-Paul Calderone
exarkun at divmod.com
Tue Jun 16 08:39:36 MDT 2009
On Tue, 16 Jun 2009 13:23:17 +0200, Pet <petshmidt at googlemail.com> wrote:
>Hi,
>
>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.
Jean-Paul
More information about the Twisted-Python
mailing list