From 44333fc07be7c0614365789519ccace8c7d2e40a Mon Sep 17 00:00:00 2001
From: Robert Levy As of jQuery 1.5, the Deferred object provides a way to register multiple callbacks into self-managed callback queues, invoke callback queues as appropriate, and relay the success or failure state of any synchronous or asynchronous function.
This object provides a subset of the methods of the Deferred object ( This object provides a subset of the methods of the Deferred object ( A multi-purpose object that provides a powerful way to manage callback lists. It supports adding, removing, firing, and disabling callbacks. The Callbacks object is created and returned by the Deferred Object
Promise Object
-then
, done
, fail
, always
, pipe
. isResolved
, and isRejected
) to prevent users from changing the state of the Deferred.
+then
, done
, fail
, always
, pipe
, and state
) to prevent users from changing the state of the Deferred.
Callbacks Object
$.Callbacks
function and subsequently returned by most of that function's methods.