ExtendableEvent.waitUntil()method extends the lifetime of the event. When called in an
EventHandlerassociated to the
installevent, it delays treating the
installingworker as installed until the passed
Promiseresolves successfully. This is primarily used to ensure that a service worker is not considered installed until all of the core caches it depends on are populated.