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

When Should I Use Q.defer And When Just Promise.resolve/reject?

I'm using nodejs and was wondering when should I use Q defer, and when just use Promise.resolve… Read more When Should I Use Q.defer And When Just Promise.resolve/reject?

Difference Between "q" And "q" In Angularjs And Requirejs

I am creating a single page app built on AngularJS, Breeze, and RequireJS. In setting up AMD with r… Read more Difference Between "q" And "q" In Angularjs And Requirejs

Node.js With Typescript Require And .d.ts Files

I want to create an server side script, for this I require 'Q', so I include the q.d.ts fil… Read more Node.js With Typescript Require And .d.ts Files

Equivalent Behaviour Of 'jquery.active' In Q

In my c# selenium webdriver tests I occasionally have to make use of: public void WaitForJQuery(Tim… Read more Equivalent Behaviour Of 'jquery.active' In Q

"iterating" Throw Promises Does Not Let To Generate Different Ids

Reading some amazing tutorials about promises, I've discovered that, if I need to interate thro… Read more "iterating" Throw Promises Does Not Let To Generate Different Ids

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 (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