YouTip LogoYouTip

Misc Deferred Notify

# jQuery deferred.notify() Method [![Image 3: jQuery Misc Methods](#)jQuery Misc Methods](#) * * * ## Definition and Usage The `deferred.notify()` function is used to define arguments to call the callback functions (progressCallbacks) being invoked on the deferred object. **Note:** 1. Typically, only the creator of the deferred object can call this method. 2. You can prevent other code from changing the deferred object's state or reporting its state by returning a restricted Promise object via `deferred.promise()`. 3. When `deferred.notify` is accessed, any progressCallbacks can be added by accessing `deferred.then` or `deferred.progress`. Callbacks are executed in the order they were added. * * * ## Syntax `deferred.notify( args )` | Parameter | Description | | :--- | :--- | | _args_ | Optional. Object type. Arguments to pass to the in-progress callbacks. | * * jQuery Misc Methods](#)
← Misc Deferred PromiseMisc Deferred Done β†’