Deferred Object
-
deferred.always()
Add handlers to be called when the Deferred object is either resolved or rejected.
-
deferred.done()
Add handlers to be called when the Deferred object is resolved.
-
deferred.fail()
Add handlers to be called when the Deferred object is rejected.
-
deferred.isRejected()
Determine whether a Deferred object has been rejected.
-
deferred.isResolved()
Determine whether a Deferred object has been resolved.
-
deferred.notify()
Call the progressCallbacks on a Deferred object with the given
args
. -
deferred.notifyWith()
Call the progressCallbacks on a Deferred object with the given context and
args
. -
deferred.pipe()
Utility method to filter and/or chain Deferreds.
-
deferred.progress()
Add handlers to be called when the Deferred object generates progress notifications.
-
deferred.promise()
Return a Deferred's Promise object.
-
deferred.reject()
Reject a Deferred object and call any failCallbacks with the given
args
. -
deferred.rejectWith()
Reject a Deferred object and call any failCallbacks with the given
context
andargs
. -
deferred.resolve()
Resolve a Deferred object and call any doneCallbacks with the given
args
. -
deferred.resolveWith()
Resolve a Deferred object and call any doneCallbacks with the given
context
andargs
. -
deferred.state()
Determine the current state of a Deferred object.
-
deferred.then()
Add handlers to be called when the Deferred object is resolved or rejected.
-
.promise()
Return a Promise object to observe when all actions of a certain type bound to the collection, queued or not, have finished.
-
jQuery.when()
Provides a way to execute callback functions based on one or more objects, usually Deferred objects that represent asynchronous events.