SyncEvent

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

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.

Event ExtendableEvent SyncEvent

Constructor

SyncEvent() Experimental

Creates a new SyncEvent object.

Instance properties

Inherits properties from its parent, ExtendableEvent and Event.

SyncEvent.tag Read only Experimental

Returns the developer-defined identifier for this SyncEvent.

SyncEvent.lastChance Read only Experimental

Returns true if the user agent will not make further synchronization attempts after the current attempt.

Instance methods

Inherits methods from its parent, ExtendableEvent and Event.

None.

Browser compatibility

BCD tables only load in the browser