Tuesday, April 18, 2017

Deferred objects in jQuery

Deferred objects in jQuery

Deferred objects in jQuery represents a unit of work that will be completed later, typically asynchronously.
Once the unit of work is complete, the deferred object can be set to resolved or failed.
A deferred object contains a promise object.
With the promise object you can specify what is to happen when the unit of work completes by setting callback functions.

No comments:

Post a Comment