[Twisted-Python] Twisted vs jQuery Deferreds (was Re: RPC design questions)
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...
More information about the Twisted-Python