Skip to content Skip to sidebar Skip to footer
Showing posts with the label Q

How To (elegantly) Interrupt Promises Chain Execution With Q

I have a chain of promises that looks like this: module.exports.deleteCommunityFollower = function … Read more How To (elegantly) Interrupt Promises Chain Execution With Q

I Need Some Help Promises And Q Library

I need some help on syntax with node.js promises. In readme for node.js module called q https://git… Read more I Need Some Help Promises And Q Library

Viewing Objects In Javascript ( Under The Hood )

Im very curious as to how objects are displayed in nodejs and in this case promises. When using con… Read more Viewing Objects In Javascript ( Under The Hood )

Running Q On Page With Require.js

I am trying to run a widget on a web page that leverages the Q library. Unfortunately, the page al… Read more Running Q On Page With Require.js

Wrapping Jquery $.ajax Behind A Facade In Q.js Without Refactoring

It's possible this should be on code review, but here we go! I have a fairly large application … Read more Wrapping Jquery $.ajax Behind A Facade In Q.js Without Refactoring

How To Resolve $q.all?

I have 2 functions, both returning promises: var getToken = function() { var tokenDefe… Read more How To Resolve $q.all?