Re: [ServiceWorker] Returning a FetchPromise from fetch() (#625)

> Will Promise.all case those promises to generic Promise? If so, what thing developers should use, FetchPromise.all?

Yes and yes.

> Will req.abort() cancel all fetch promises?

That would be a design decision that we have to make when designing FetchPromise.all

> What will happen if one of them will be generic-non-cancelable promise?

It will be converted to a FetchPromise using FetchPromise.resolve, which presumably gives it a no-op cancellation action.

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/625#issuecomment-76018995

Received on Wednesday, 25 February 2015 18:03:05 UTC