SyncEvent
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Note: This feature is only available inService Workers.
TheSyncEvent interface of theBackground Synchronization API represents a sync action that is dispatched on theServiceWorkerGlobalScope of a ServiceWorker.
This interface inherits from theExtendableEvent interface.
In this article
Constructor
SyncEvent()Creates a new
SyncEventobject.
Instance properties
Inherits properties from its parent,ExtendableEvent andEvent.
SyncEvent.tagRead onlyReturns the developer-defined identifier for this
SyncEvent.SyncEvent.lastChanceRead onlyReturns
trueif the user agent will not make further synchronization attempts after the current attempt.
Instance methods
Inherits methods from its parent,ExtendableEvent andEvent.
None.
Specifications
| Specification |
|---|
| Web Background Synchronization> # sync-event> |