Top "Q" questions

The Q.js JavaScript promise library.

Is there a pure Promise-based approach for mapping/concatenating collections?

async vs. Q generally I'm learning Node.js development, and trying to wrap my brain around strategies for managing asynchronous "…

javascript node.js asynchronous promise q
Proper way to skip a then function in Q Promises

In my code, based on a specific condition, I would like to skip to the done function, irrespective of all …

javascript node.js promise q
$q.all and nested promises

Have a question about synchronizing nested promises when using $q in Angular. Will the following code ensure that the entire …

angularjs q angular-promise
What's difference between Q.nfcall and Q.fcall?

I am new to node.js. I am trying to understand Q.nfcall. I have the following Node.js code. …

javascript node.js q
Promises: is .done() executed always even if .catch() is?

My Promise issue I am new to Promises and I've been reading the Q Documentation, where it says: When you …

javascript node.js promise q
kriskowal/q node.js q.all and spread

I have a function that needs the result of three prior promises passed to it. One is linearly dependent and …

javascript node.js q
How to use "q" module for refactoring mongoose code?

I'm using mongoose to insert some data into mongodb. The code looks like: var mongoose = require('mongoose'); mongoose.connect('mongo://…

javascript asynchronous mongoose promise q
Unhandled rejection reasons (should be empty)

I'm getting into promises pattern with Q and I keep getting warning "[Q] Unhandled rejection reasons (should be empty)" in …

javascript promise q
AngularJS handling rejected resources in $q.all

I'm trying to handle errors with my resources, and then handle rejection of resources in my $q.all(). This is …

javascript angularjs promise q
Javascript: How to iterate on array using promises?

LIVE DEMO Given the following function: function isGood(number) { var defer = $q.defer(); $timeout(function() { if (<some condition on …

javascript angularjs promise q angular-promise