2011/6/28 Glyph Lefkowitz <gl...@twistedmatrix.com>:
> On Jun 27, 2011, at 5:53 PM, Richard Wall wrote:
>
> Does anyone else hate the confusing new method names they've chosen?
>
> Yes.

No! Because it's not a Deferred.

The JQuery Deferred has only a slight resemblance with Twisted's.
Looking at the source code
https://github.com/jquery/jquery/blob/master/src/deferred.js
this implementation lacks many important features of the Deferred we know:

- All callbacks are called with the same "result"
- Impossible to recover from an errback (and call the next callback)
- The callback chain is not paused when a callback returns another Deferred

IOW, don't use it as a Deferred.
The Mochikit implementation looks much more similar to Twisted.

-- 
Amaury Forgeot d'Arc

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to