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

Comments

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





*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Subscribe without commenting