SyncManager

Limited availability

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

Non standard: Cette fonctionnalité n'est ni standard, ni en voie de standardisation. Ne l'utilisez pas pour des sites accessibles sur le Web : elle ne fonctionnera pas pour tout utilisateur. Il peut également y avoir d'importantes incompatibilités entre les implémentations et son comportement peut être modifié dans le futur.

L'interface SyncManager de l'API ServiceWorker fournit une interface pour l'enregistrement et l'énumération des instances de SyncRegistration.

Properties

None.

Methods

SyncManager.register

Créé une nouvelle sync registration et retourne une Promise

SyncManager.getTags

Renvoie une liste d'identifiants définis par le développeur pour l'enregistrement du SyncManager.

Spécifications

Specification
Web Background Synchronization
# sync-manager-interface

Compatibilité des navigateurs

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
SyncManager
getTags
register
Available in workers

Legend

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

Full support
Full support
Partial support
Partial support
No support
No support
See implementation notes.
Has more compatibility info.