Top "Jquery-deferred" questions

jQuery's deferred (also known as promises and futures) can be used to manage callback queues

How can I determine if a jQuery object is deferred?

If I have a function that sometimes returns a deferred object but sometimes a non-deferred object. How can I tell …

javascript jquery jquery-deferred
in JavaScript, how to wrap a promise in timeout?

It's a common pattern to implement timeout of some asynchronous function, using deffered/promise: // Create a Deferred and return its …

javascript jquery promise jquery-deferred deferred
Promise callback not called in Angular JS

If I call connect from doStuff, I get the message that "the socket is connected", but the callback is not …

angularjs websocket jquery-deferred
jQuery.Deferred exception: The string did not match the expected pattern

I've a little headache with this console error, ONLY on Safari (working on MacBook actually). I have this function: function …

safari syntax-error jquery-deferred safari-web-inspector jquery-3
Is it possible to reset a jQuery deferred object state?

Is it possible to reset a resolved jQuery object to an 'unresolved' state and kick off it's initialization and callbacks …

jquery-deferred
Catching Backbone sync errors

I needed to catch a possible login page in all responses from the server, so I have overridden Backbone.sync …

backbone.js jquery-deferred
JQuery Deferred. Using $.when and .progress()

I am writing a parser littered with Async Tasks. I use JQuery promises to control and order the async tasks. …

javascript jquery progress jquery-deferred
Implement Deferred object without using jquery

I want to implement basic Deferred object without using jQuery. Here i will be implementing only done and fail callbacks, …

javascript jquery jquery-deferred deferred
Deferred with jQuery - when() with getJSON() callbacks

I'm trying to understand when function and deferred objects in jQuery. $.when($.getJSON('/echo/json', function () { console.log('sucess'); }, …

javascript jquery jquery-deferred deferred
JQuery deferred reject immediately

When using JQuery.Deferred is it OK to invoke reject() directly? Without having invoked a async function? Perhaps I want …

javascript jquery jquery-deferred