- From: Jake Archibald <notifications@github.com>
- Date: Tue, 04 Dec 2018 04:11:36 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 4 December 2018 12:12:03 UTC
I tend to write it as: ```js event.respondWith(async function() { const response = await fetch(url); event.waitUntil(cache.put(url, response.clone())); return response; }()); ``` -- 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/1367#issuecomment-444078828
Received on Tuesday, 4 December 2018 12:12:03 UTC