Re: [ServiceWorker] Response streaming and SW lifetime (#651)

> Yeah, the SW should be able to shut down as soon as the promise passed to respondWith resolves.

I agree the spec should make this possible.  Implementations may need to keep it alive longer.  For example, if `respondWith(cache.match(req))` I need to keep the worker alive until the body is fully streamed across because of how IPC works.

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

Received on Tuesday, 31 March 2015 16:25:05 UTC