Skip to content
Eugene Lazutkin edited this page Mar 19, 2016 · 6 revisions

This project hosts practical algorithms to arrange asynchronous operations on node.js and browsers, and two specialized implementations of promises, if you need some advanced functionality.

This project provides a complete algebra over promises, and helpful utilities. Bundled deferred objects implement fast easy-to-debug promises with an extended API and functionality, including cancellable asynchronous operations, and progress signals. They are intentionally relax some Promise/A+ tenets to reduce code, and improve performance, e.g., by avoiding time-outs, which is important for client-side applications. Full interoperability with built-in ES6's Promise is provided out of box.

All algorithms (and specialized promises) can inter-operate with other implementations of promises. Everything works well with "foreign" promises as long as they are then()-able (an object or function that defines a then method).

To get more information on underlying concepts:

Included algorithms (work across all type of promises):

Included implementations of deferreds (can be used instead or alongside with the standard Promise):