Tag: Promise


SimplePromise – A simple javascript promise with approve, reject, cancel & progress features

Needed a cancelable promise for my project. Also, needed to solve multiple resolve & reject problem done by original Promise because I was making a lot of asynchronous requests and gathering all data together. Here is SimplePromise which works same as normal promise and does exactly what I needed, hope it helps someone.