Misc Deferred Resolve
# jQuery deferred.resolve() Method
[jQuery Misc Methods](#)
* * *
## Definition and Usage
The deferred.resolve() function is used to resolve a Deferred object and call any doneCallbacks callback functions with the given args parameter.
**Note:** 1. Usually, only the creator of the deferred object can call this method. You can prevent other code from changing the deferred object's state or reporting its state by calling deferred.promise(), which returns a restricted Promise object.
2. When the deferred object is resolved, any doneCallbacks added via deferred.then or deferred.done will be called. Callback functions are executed in the order they were added. The args parameter passed to deferred.resolve() is passed to each callback function. Once the deferred object enters the resolved state, any doneCallbacks added will be executed immediately with the parameters passed to .resolve().
* * *
## Syntax
deferred.resolve( args )
| Parameter | Description |
| :--- | :--- |
| _args_ | Object type. An optional array of arguments passed to the doneCallbacks callback functions. |
* * jQuery Misc Methods](#)
YouTip