Ads

Promises with dojo – a lightweight alternative to dojo.Deferred

February 6, 2010
Filed under: Dojo Toolkit, JavaScript 

The dojo toolkit has dojo.Deferred, which does a similar job. You create a Deferred, add (multiple) callbacks and error handlers to it, and when it fires off, all your handlers get called. But dojo.Deferred is pretty heavyweight.


Jens Arps – http://jensarps.de/

More Info : click here

Similar Posts

Comments

Tell me what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!





Subscribe without commenting