If a function cannot return a value or throw an exception without blocking, it can return a promise instead. A promise is an object that represents the return value or the thrown exception that the function may eventually provide. A promise can also be used as a proxy for a remote object to overcome latency.

On the first pass, promises can mitigate the “Pyramid of Doom”: the situation where code marches to the right faster than it marches forward.

Code Quality Rank: L3
Monthly Downloads: 0
Programming language: JavaScript
License: MIT License
Tags: Control Flow     Flow Control     Future     Deferred     Async     Promises-aplus     Promises-a     Promises     Promise     Node     Q     Browser     Fluent    

q alternatives and related libraries

Based on the "Control Flow" category

Do you think we are missing an alternative of q or a related project?

Add another 'Control Flow' Library

q Recommendations

There are no recommendations yet. Be the first to promote q!

Have you used q? Share your experience. Write a short recommendation and q, you and your project will be promoted on Awesome JavaScript.
Recommend q

Recently added q resources

Do you know of a useful tutorial, book or news relevant to q?
Be the first to add one!