April 11, 2014

JS // Managing bulk async events with Promises

Javascript callbacks() can get messy. When performing many async operations, is there a simple way to state 'when all these things are done' do this() or that()? Sure is. Enter the saving grace of Promise.all().

See the demo over at http://jsfiddle.net/cdaringe/MBEy8/2/

  • LinkedIn
  • Tumblr
  • Reddit
  • Google+
  • Pinterest
  • Pocket
Comments powered by Disqus