web api interface
SyncEvent
Available in 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.
Constructor
SyncEvent()- : Creates a new
SyncEventobject.
- : Creates a new
Instance properties
Inherits properties from its parent, ExtendableEvent and Event.
tagRead only- : Returns the developer-defined identifier for this
SyncEvent.
- : Returns the developer-defined identifier for this
lastChanceRead only- : Returns
trueif the user agent will not make further synchronization attempts after the current attempt.
- : Returns
Instance methods
Inherits methods from its parent, ExtendableEvent and Event.
None.
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.