- From: Ben Kelly <notifications@github.com>
- Date: Tue, 12 Apr 2016 23:53:22 -0700
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Wednesday, 13 April 2016 06:53:49 UTC
At the face-to-face today we decided the code providing the js stream must use waitUntil(). You are right, though, there will probably be a window between when waitUntil is resolved and the browser consumes the js buffers. It seems unlikely, though, that draining the buffers would last longer than the grace timer. Perhaps we should say the service worker should be kept alive long enough to consume the stream. That makes the default behavior to hold the worker alive. It could be an equivalent optimization, though, to let the SW die if a c++ stream is being consumed. --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/882#issuecomment-209260036
Received on Wednesday, 13 April 2016 06:53:49 UTC