- From: Ben Kelly <notifications@github.com>
- Date: Tue, 31 Mar 2015 09:24:33 -0700
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Tuesday, 31 March 2015 16:25:05 UTC
> 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