Re: [ServiceWorker] Changing Request and fetch() (#625)

Yeah, @jakearchibald convinced me that subclassing is fine even with async/await. Especially since you often want to store the promise in a variable anyway to do concurrent processing.

Note that I think that if we expose something like `abort()` here, it should also affect the eventual stream. So perhaps we should just go with a term used in fetching, "terminate", and give it the semantics of terminating the connection (either rejecting the promise or canceling the stream).

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

Received on Tuesday, 17 February 2015 10:15:46 UTC