- From: Jake Archibald <notifications@github.com>
- Date: Wed, 08 Feb 2017 06:11:56 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 8 February 2017 14:12:28 UTC
Maybe we just need to push a pattern like:
```js
const response = Promise.try(async () => {
// …
});
event.respondWith(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/1068#issuecomment-278338779
Received on Wednesday, 8 February 2017 14:12:28 UTC