-
Notifications
You must be signed in to change notification settings - Fork 260
Expand file tree
/
Copy pathdeferred.progress.xml
More file actions
14 lines (14 loc) · 1.1 KB
/
deferred.progress.xml
File metadata and controls
14 lines (14 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<entry name="deferred.progress" type="method" return="Deferred">
<signature>
<added>1.7</added>
<argument name="progressCallbacks" type="Function">
<desc>
A function, or array of functions, that is called when the Deferred generates progress notifications.
</desc>
</argument>
</signature>
<desc> Add handlers to be called when the Deferred object generates progress notifications.</desc>
<longdesc> <p>The argument can be either a single function or an array of functions. When the Deferred generates progress notifications by calling <code>notify</code> or <code>notifyWith</code>, the <code>progressCallbacks</code> are called. Since <code>deferred.progress()</code> returns the Deferred object, other methods of the Deferred object can be chained to this one. When the Deferred is resolved or rejected, progress callbacks will no longer be called. For more information, see the documentation for <a href="/category/deferred-object/">Deferred object</a>.</p> </longdesc>
<category name="Deferred Object" slug="deferred-object"/>
<category name="Version 1.7" slug="1.7"/>
</entry>