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?

How Can I Properly Call A List Of Async Functions In Order?

I am attempting to write a 'robocopy /mir' like function within Node.js and cannot seem to … Read more How Can I Properly Call A List Of Async Functions In Order?

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

Using Kris Kowal's Q. How Should I Catch If Any Errors Have Been Thrown Throughout The Life Of A Chained Promise?

I'm new to promises, and I just started using Kris Kowal's Q today (I've read about it … Read more Using Kris Kowal's Q. How Should I Catch If Any Errors Have Been Thrown Throughout The Life Of A Chained Promise?

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

How Can I Limit Q Promise Concurrency?

How do I write a method that limits Q promise concurrency? For instance, I have a method spawnProce… Read more How Can I Limit Q Promise Concurrency?