MDN self-hosted library · e01.org

SyncEvent

Background Syncservice

no runnable cells web-api-interface upstream source

Background Syncservice

The SyncEvent interface of the 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 SyncEvent object.

Instance properties

Inherits properties from its parent, ExtendableEvent and Event.

  • SyncEvent.tag
  • : Returns the developer-defined identifier for this SyncEvent.
  • SyncEvent.lastChance
  • : 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.

Specifications

Browser compatibility