Overview
Resolve deferred objects and call any completed callback functions based on the given context and parameters.
When deferral is resolved, any deferred.then or deferred.fail added by doneCallbacks is called. Callbacks are executed in the order they were added. The args passed by each callback are called in deferred.reject(). After adding any failCallbacks deferred to the denied state, the addition is performed immediately, and the parameters used are passed to the .reject() call. See the file Deferred object for details .
parameter
contextV1.5
The context is passed to doneCallbacks as the this object.
args v1.5
Optional parameters passed to doneCallbacks
Post your comments / questions
Recent Article
- Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
- Unable to update the EntitySet 'table' because it has DefiningQuery and no DeleteFunction element exists in the ModificationFunctionMapping
- How to save the web page’s content and save into a string variable in c#?
- The model item passed into the dictionary is of type System.Linq.OrderedEnumerable but this dictionary requires a model item of type System.Collections.Generic.IList
- How to convert http to https Godaddy?
- Delayed object-deferred.state()
- Delayed object-deferred.progress(progressCallbacks)
- Delayed object-deferred.notifyWith(context,[args])
Related Article