[Twisted-Python] Twisted vs jQuery Deferreds (was Re: RPC design questions)

Allen Short washort at twistedmatrix.com
Wed Aug 24 18:36:59 EDT 2011

No, this is something jQuery and CommonJS got wrong; callbacks don't chain
in their implementation.

Firing a jQuery promise invokes each callback in order with the same
argument. Firing a Deferred in Twisted invokes the first callback then
passes its return value as the arg to the next callback, and so forth.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20110824/ab51b207/attachment.htm 

More information about the Twisted-Python mailing list