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

Async Waterfall Equivalent With Q

I've got a single page which is an account settings page. In it, I allow my users to update the… Read more Async Waterfall Equivalent With Q

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

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?

"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

How To Make Synchronous Http Calls Using Promises In Node.js

I would like to iterate thru an array of students and make http call for each of them and parse the… Read more How To Make Synchronous Http Calls Using Promises In Node.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

"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