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

1 line
1.3 KiB
JSON

{"name":"deferred.notify","type":"method","title":"deferred.notify()","deprecated":null,"removed":null,"desc":" Call the progressCallbacks on a Deferred object with the given <code>args</code>. ","categories":["deferred-object","version/1.7"],"entries":[{"return":"Deferred","signatures":{"added":"1.7","argument":{"desc":"\n Optional arguments that are passed to the progressCallbacks.\n ","name":"args","type":"Object"}},"examples":null,"longdesc":"\n <p>Normally, only the creator of a Deferred should call this method; you can prevent other code from changing the Deferred's state or reporting status by returning a restricted Promise object through deferred.promise().</p>\n <p>When <code>deferred.notify</code> is called, any progressCallbacks added by <a href=\"/deferred.then/\"><code>deferred.then</code></a> or <a href=\"/deferred.progress/\"><code>deferred.progress</code></a> are called. Callbacks are executed in the order they were added. Each callback is passed the <code>args</code> from the <code>.notify()</code>. Any calls to <code>.notify()</code> after a Deferred is resolved or rejected (or any progressCallbacks added after that) are ignored. For more information, see the documentation for <a href=\"/category/deferred-object/\">Deferred object</a>.</p>\n "}]}