Re: [w3c/ServiceWorker] Consider throwing when non-promise is passed to `waitUntil`. (#1068)

I see. Is there any other way we can address the problem? I mean, it’s mostly about developer ergonomics here. One way would be to add handling if that promise passed to `waitUntil` resolves to an async function (or even just a plain function), but I am not sure if that has any implications I am not seeing right now.

-- 
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-278334116

Received on Wednesday, 8 February 2017 13:53:07 UTC