The ExtendableEvent.waitUntil() method tells the event dispatcher that work is ongoing.
ExtendableEvent.waitUntil()
MDN Reference