Firefox Tomorrow

web api interface

SyncEvent

View on MDN ↗

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

Instance properties

Inherits properties from its parent, ExtendableEvent and Event.

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

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.