ExtendableEvent
package js.html
extends Event
extended by PushEvent, ExtendableMessageEvent, FetchEvent, NotificationEvent
Available on js
The ExtendableEvent
interface extends the lifetime of the install
and activate
events dispatched on the global scope as part of the service worker lifecycle. This ensures that any functional events (like FetchEvent
) are not dispatched until it upgrades database schemas and deletes the outdated cache entries.
Documentation ExtendableEvent by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
Constructor
new(type:String, ?eventInitDict:Null<ExtendableEventInit>)
Throws:
null |
DOMError |
---|
Methods
waitUntil(p:Promise<Dynamic>):Void
Throws:
null |
DOMError |
---|
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/ExtendableEvent.html