My page sends several HTTP requests in background. The requests are triggered by some user actions. Some user actions can cause redirect - and here we have a problem: we want redirect to happen only when all the requests were sent.
The question is: is there any Javascript library you can recommend that would allow to wait for all the reports to be sent and trigger redirect only after?