- From: Nathan Schloss <notifications@github.com>
- Date: Mon, 24 Oct 2016 16:12:40 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Monday, 24 October 2016 23:13:09 UTC
@domenic, wouldn't the example you posted throw an error? As soon as you've done any async work you can no longer safely call event.respondWith because any subsequent call is in a different function. (See step 1 in section 4.5.4 on https://www.w3.org/TR/service-workers/#fetch-event-respondwith-method) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/ServiceWorker/issues/920#issuecomment-255892084
Received on Monday, 24 October 2016 23:13:09 UTC