- From: Ben Kelly <notifications@github.com>
- Date: Mon, 25 Jul 2016 11:44:32 -0700
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Monday, 25 July 2016 18:45:16 UTC
Is this really that different from just using .catch()? They are both explicit and opt-in. ``` self.addEventListener('fetch', evt => { evt.respondWith(myActualWork().catch(e => { // fallback to network always fetch(evt.request); }); }); ``` --- 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/892#issuecomment-235045972
Received on Monday, 25 July 2016 18:45:16 UTC