Huy Minh Ha

Software development, Tech and other stuff

Wed 26 October 2016

Understanding Promises

Posted by Ha.Minh in Programming   

Understand promise vs callback The ABCs of promises

Promise nuggets More examples of promises

Why I am switching to promises A guy switches from callbacks to promises.

We have a problem with promises Promises are not so easy to use if you don't know exactly how to use them properly. Try to avoid the mistakes of using something without fully understanding it.

Retry patterns Several patterns of retry in promises

promise-retryer Another way to do retry with promise which supports * custom delays based on attempts * maxRetries * promise result validation (if it fails then keep trying)


    
 
 

Comments