Top "Q" questions

The Q.js JavaScript promise library.

While loop with promises

What would be the idiomatic way to do something like a while loop with promises. So: do something if the …

node.js loops promise q
Why is 'this' undefined inside class method when using promises?

I have a javascript class, and each method returns a Q promise. I want to know why this is undefined …

javascript node.js promise this q
How does Angular $q.when work?

Can some one explain me how does $q.when work in AngularJS? I'm trying to analyse how $http work and …

angularjs deferred q
Are there still reasons to use promise libraries like Q or BlueBird now that we have ES6 promises?

After Node.js added native support for promises, are there still reasons to use libraries like Q or BlueBird? For …

javascript node.js promise q bluebird
How to Check Whether an Angular $q promise Is Resolved

I understand that typically one would just attach continuation code with a then() call and chain behaviour when using promises. …

angularjs promise q
How to wait for a promise to be resolved?

I'm dealing with a NodeJs framework that requires a certain function to be synchronous, but I need to retrieve a …

javascript node.js promise q
How to configure additional classpath in SpringBoot?

I want to make a standalone web application. I have some problems with SpringBoot. My application is one jar file …

java spring spring-boot external q
How to make Ajax request through NodeJS to an endpoint

I am using NodeJS. One of my function (lets call it funcOne) receives some input which I pass to another …

ajax node.js q
pandas - 'dataframe' object has no attribute 'str'

I am trying to filter out the dataframe that contains a list of product. However, I am getting the pandas …

python pandas q
How do I sequentially chain promises with angularjs $q?

In the promise library Q, you can do the following to sequentially chain promises: var items = ['one', 'two', 'three']; var …

angularjs q chaining sequential angular-promise