- From: Domenic Denicola <notifications@github.com>
- Date: Thu, 29 Jan 2015 13:25:47 -0800
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Thursday, 29 January 2015 21:26:14 UTC
(A) looks pretty good to me. (B) is not too bad---I could add `getReader({ preventReleaseOnClose: true })`---but it does feel like it is overloading "locked" to mean too many things. In terms of user-observable consequences, I think (A) allows you to check `req.body.state === "closed"` after `fetch(req)` finishes consuming it, whereas (B) causes it to throw. --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/452#issuecomment-72107187
Received on Thursday, 29 January 2015 21:26:14 UTC