Opened 10 years ago
Closed 10 years ago
#12962 closed feature (plugin)
Need for '$.whenAll' function
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.8.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hi,
'$.when' allows us to wait for many deferred objects to return before continuing.
It returns when either all deferreds are resolved or one of the deferreds failed.
But there are many times where we do not want the second behavior and we want the '$.when' to return ONLY when all the deferred passed to it has returned no matter if they have been resolved or rejected, a kind of '$.whenAll' function in fact.
Thank you
Riana
Note: See
TracTickets for help on using
tickets.
https://github.com/jaubourg/ajaxHooks/blob/master/src/whenever.js