Note: This feature is only available in Service Workers.
The SyncEvent interface of the Background Synchronization API represents a sync action that is dispatched on the ServiceWorkerGlobalScope of a ServiceWorker.
This interface inherits from the ExtendableEvent interface.
SyncEvent()Creates a new SyncEvent object.
Inherits properties from its parent, ExtendableEvent and Event.
SyncEvent.tag Read onlyReturns the developer-defined identifier for this SyncEvent.
SyncEvent.lastChance Read onlyReturns true if the user agent will not make further synchronization attempts after the current attempt.
Inherits methods from its parent, ExtendableEvent and Event.
None.