Hexret

Web Security · Browser Security

event.waitUntil()

A service-worker event method that extends the event lifetime until its Promise settles. During activate, it buffers functional events such as fetch while cleanup finishes. Pass the cache-deletion Promise to waitUntil when activation depends on that cleanup.

Where you practice it

Related terms