jQuery promise method
From Wiki @ Karl Jones dot com
In jQuery, the .promise() method returns a dynamically generated Promise that is resolved once all actions of a certain type bound to the collection, queued or not, have ended.
Description
By default, type is "fx", which means the returned Promise is resolved when all animations of the selected elements have completed.
Resolve context and sole argument is the collection onto which .promise() has been called.
If target is provided, .promise() will attach the methods onto it and then return this object rather than create a new one. This can be useful to attach the Promise behavior to an object that already exists.
See also
External links
- .promise() @ api.jquery.com
- deferred.promise() @ api.jquery.com
- What’s the deal with jQuery Deferred objects and Promises?
- Making Promises With jQuery Deferred
- Wrangle Async Tasks With JQuery Promises by Trevor Burnham
- Deferred and promise in jQuery
- An Introduction to jQuery’s Deferred Objects by Aurelio De Rosa
- Make Your Own jQuery Deferreds and Promises
- Promise & Deferred Objects in JavaScript Pt.2: in Practice
- AJAX & Deferreds
- How do I create and resolve a JavaScript or jQuery promise?
- Asynch JS: The Power Of $.Deferred
- Differences between jQuery Deferreds and the Promises/A+ spec
- You're Missing the Point of Promises
- Sequential AJAX and jQuery's Promises
- You're Missing the Point of Promises
- JQuery : Why I prefer $.ajax promise
- jquery.promises - Grouping related jQuery Deferreds, managing them collectively.
- jQuery promises: .done and .then are not the same
- Javascript Promises And Why Jquery Implementation Is Broken
- Write Better JavaScript with Promises
- jQuery.Deferred is the most important client-side tool you have
- http://www.columbia.edu/~njn2118/journal/2015/9/11.html
- promise
- Managing multiple jQuery promises by Herman Radtke III
- Mapping Errors In Jquery Promises / Deferred
- jQuery broken promises illustrated
- jQuery, Promises & Deferred @ I Programmer
- Manage async events with Jquery promise
- Understanding JavaScript Promises In jQuery
- Promise Chains
- Deferred / Promise pattern using jQuery by Daniel Demmel
- How to properly unit test jQuery's .ajax() promises using Jasmine and/or Sinon?
- Using the jQuery Promise Interface to Avoid the AJAX Pyramid of Doom
- Providing Synchronous / Asynchronous Flexibility With jQuery.when by Derick Bailey
- Always keep your (jQuery) Promises by Ryan
- JQuery Promises and Deferreds
- Creating Responsive Applications Using jQuery Deferred and Promises by Julian Aubourg and Addy Osmani
- Recursive Promises Example by Jack Montgomery
- Jquery Promise Object For Asynchronous Method Handling by Sandeep
- Fun With jQuery Deferred by Michael Bleigh
- How to pass extra / additional parameters to the deferred.then()function in jQuery, $q (AngularJS) or Q by Roel van Lisdonk
- JQuery promise and deferred chained calls
- Tracking/ joining parallel AJAX requests with jQuery by Matt Lunn