Quantcast
Channel:
Viewing all articles
Browse latest Browse all 9

JavaScript Promise

$
0
0

Here is a quick JavaScript Promise implementation:

https://github.com/natalan/Promise

It comes with all features of jQuery Deferred (waterfall, parallel, or immediate ), but has much smaller footprint (~1Kb minified and gZipped). Fully tested and ready to be used in production on a client and server-side (node.js). I am not sure about browser support, but it should work with any browser that is capable to run ECMAScript5.

Follow examples on the GitHub page and ask questions here if you have any.

Special thanks to my fellow Nokia colleagues Sasha Malahov & David Graves.


Viewing all articles
Browse latest Browse all 9

Latest Images

Trending Articles





Latest Images