How to decipher serviceWorker code used to create a progressive web app?
I do not understand the below code i.e. Which constructs are objects or methods? Which belong to the service worker api? What are interfaces like cache and caches? Are interfaces methods? With syntax like x.y(), x is usually an object and y is usually a method, so how do I understand installEvent.waitUtil(.. ? What is installEvent? It is passed as argument to the function {}.