SyncEvent

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Hinweis: Diese Funktion ist nur in Service Workers verfügbar.

Die SyncEvent-Schnittstelle der Background Synchronization API repräsentiert eine Synchronisationsaktion, die auf dem ServiceWorkerGlobalScope eines ServiceWorkers ausgelöst wird.

Diese Schnittstelle erbt von der ExtendableEvent-Schnittstelle.

Event ExtendableEvent SyncEvent

Konstruktor

SyncEvent()

Erstellt ein neues SyncEvent-Objekt.

Instanz-Eigenschaften

Erbt Eigenschaften von seinem Elternteil, ExtendableEvent und Event.

SyncEvent.tag Schreibgeschützt

Gibt den vom Entwickler definierten Bezeichner für dieses SyncEvent zurück.

SyncEvent.lastChance Schreibgeschützt

Gibt true zurück, wenn der Benutzeragent nach dem aktuellen Versuch keine weiteren Synchronisationsversuche unternehmen wird.

Instanz-Methoden

Erbt Methoden von seinem Elternteil, ExtendableEvent und Event.

Keine.

Spezifikationen

Specification
Web Background Synchronization
# sync-event

Browser-Kompatibilität

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
SyncEvent
SyncEvent() constructor
lastChance
tag

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support
See implementation notes.