[Twisted-Python] ANN: deferred howto/tutorial

Jonathan Simms slyphon at twistedmatrix.com
Sun Oct 24 06:16:22 MDT 2004


 
> [Sidenote: in my usual mental model, "nesting" would be something you do
> with deferreds, rather than callbacks, i.e. it's what happens when a
> callback of one deferred returns some other deferred.  And then there's
> "chaining" Deferreds with the "chainDeferred" method, which I always have to
> read the implementation of to figure out which way round I need to call it.]
> 

Could you give an example of where you *would* need to use
.chainDeferred? I've always been under the (somewhat vague) impression
that returning a deferred from a callback was the same thing.

-Jonathan





More information about the Twisted-Python mailing list