{"json_modified": "2016-10-12T09:51:25.579774", "uuid": "92d6d5f4-fd85-4dba-9393-51d49a173f2d", "title": "ExtendableEvent.waitUntil()", "url": "/en-US/docs/Web/API/ExtendableEvent/waitUntil", "tags": ["ExtendableEvent", "Reference", "waitUntil", "API", "Method"], "translations": [{"uuid": "902ab0d0-72f1-4d74-86c8-7507a1a90690", "title": "ExtendableEvent.waitUntil()", "url": "/fr/docs/Web/API/ExtendableEvent/waitUntil", "tags": [], "summary": "The ExtendableEvent.waitUntil() method extends the lifetime of the event. When called in an EventHandler associated to the install event, it delays treating the installing\u00a0worker as installed until the passed Promise resolves 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.", "localization_tags": ["inprogress"], "locale": "fr", "last_edit": "2016-09-20T00:49:48", "review_tags": []}], "modified": "2016-10-12T09:51:25", "label": "ExtendableEvent.waitUntil()", "localization_tags": [], "locale": "en-US", "id": 145419, "last_edit": "2016-10-12T09:51:18", "summary": "The ExtendableEvent.waitUntil() method extends the lifetime of the event. In service workers, extending the life of an event prevents the browser from terminating the service worker before asynchronous operations within the event have completed.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Returns", "title": "Returns"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Example", "title": "Example"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/ExtendableEvent/waitUntil", "review_tags": ["technical"]}