Side navigation
#12962 closed feature (plugin)
Opened November 26, 2012 10:27AM UTC
Closed November 26, 2012 10:42AM UTC
Need for '$.whenAll' function
Reported by: | r.rambonimanana@citegestion.fr | 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
Attachments (0)
Change History (1)
Changed November 26, 2012 10:42AM UTC by comment:1
resolution: | → plugin |
---|---|
status: | new → closed |
https://github.com/jaubourg/ajaxHooks/blob/master/src/whenever.js