untangling a pending object

In short, is there a way to β€œexpand” a pending object?

For example: we have a list of data that needs to be updated periodically or when the event is fired. It would be nice to take a deferred object created with .ajax () and pass it a promise to collect callbacks. Then the "fire", which requests ajax every time we want, and respond to all callbacks. Is it possible?

Greetings

+6
javascript jquery jquery-deferred
source share
1 answer

There is progress() in jQuery 1.7 that can be used for multi-user situations.

+2
source share

All Articles