Closed inexorabletash closed 4 years ago
Explainer has
self.addEventListener('activate', (event) => { // Snapshot current state of subscriptions. const subscriptions = await self.registration.cookies.getSubscriptions(); ....
This should be async (event) => ... for the await to be valid.
async (event) => ...
await
Explainer has
This should be
async (event) => ...
for theawait
to be valid.