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

Is The Deferred/promise Concept In Javascript A New One Or Is It A Traditional Part Of Functional Programming?

I really like the idea of jQuery's deferred/promise pattern or paradigm but sometimes I have tr… Read more Is The Deferred/promise Concept In Javascript A New One Or Is It A Traditional Part Of Functional Programming?

How To Know When A Recursive, Asynchronous Task Finishes

I have a async function, which can recurse into itself. I'm adding jQuery deferreds to an array… Read more How To Know When A Recursive, Asynchronous Task Finishes

Angularjs Defer.promise Not Working As Expected

I'm developing an application using AngularJS & PersistenceJS. I'm getting trouble de… Read more Angularjs Defer.promise Not Working As Expected

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

Chaining Promise And Defered With A For Loop In Angular Application

I try to use promise and defered in an angular application. I use two functions $scope.checkQuestio… Read more Chaining Promise And Defered With A For Loop In Angular Application

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?

In Javascript, How To Wrap A Promise In Timeout?

It's a common pattern to implement timeout of some asynchronous function, using deffered/promis… Read more In Javascript, How To Wrap A Promise In Timeout?

Working With Ajax Promises / Deferred

I am trying to get an Ajax promise using the code below. Because my function makes another ajax cal… Read more Working With Ajax Promises / Deferred