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

> Although I'd only count child abortable promises as refs, Promise.resolve(fetchp) would be a simple observer.

Yeah, that's the entire point, actually; you can cast it to a standard Promise to strip it of its additional powers, so of course you don't need to ref-count it.

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

Received on Thursday, 26 February 2015 17:47:46 UTC