control-freak-ide/Control-Freak-Documentation/jQuery/docs/entries/deferred.resolve.json
plastic-hub-dev-node-saturn 538369cff7 latest
2021-05-12 18:35:18 +02:00

1 line
1.1 KiB
JSON

{"name":"deferred.resolve","type":"method","title":"deferred.resolve()","deprecated":null,"removed":null,"desc":" Resolve a Deferred object and call any doneCallbacks with the given <code>args</code>. ","categories":["deferred-object","version/1.5"],"entries":[{"return":"Deferred","signatures":{"added":"1.5","argument":{"desc":"\n Optional arguments that are passed to the doneCallbacks.\n ","name":"args","type":"Anything","optional":"true"}},"examples":null,"longdesc":"\n <p>When the Deferred is resolved, any doneCallbacks added by <a href=\"/deferred.then/\"><code>deferred.then()</code></a> or <a href=\"/deferred.done/\"><code>deferred.done()</code></a> are called. Callbacks are executed in the order they were added. Each callback is passed the <code>args</code> from the <code>deferred.resolve()</code>. Any doneCallbacks added after the Deferred enters the resolved state are executed immediately when they are added, using the arguments that were passed to the <code>deferred.resolve()</code> call. For more information, see the documentation for <a href=\"/jQuery.Deferred/\">jQuery.Deferred()</a>.</p>\n "}]}