[Twisted-Python] Re: Making DeferredList look like Deferred

Nicola Larosa nico at tekNico.net
Tue Feb 7 03:17:05 EST 2006


>   This is particularly useful for p2p-style apps.  For
> example, suppose I want to maintain a maximum of 20
> outstanding requests for a given operation -- I don't
> want to spin off another 20 (or another X) until I
> know exactly how many of the original 20 failed and
> how many succeeded.

You may want to use twisted.internet.defer.DeferredQueue for this.

-- 
Nicola Larosa - http://www.tekNico.net/

How do we "make poverty history"? We make naivety history.
We make ignorance of the forces manipulating the world history.
We make ignorance of their agenda history. Without that,
nothing can change. -- David Icke, November 2005





More information about the Twisted-Python mailing list