SyncManager

Limited availability

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

备注: 此特性在 Web Worker 中可用。

Background Synchronization APISyncManager 接口提供了用于注册和列出同步注册情况的接口。

实例属性

无。

实例方法

SyncManager.register()

创建一个新的同步注册并返回 Promise

SyncManager.getTags()

返回开发人员定义的 SyncManager 注册标识符列表。

规范

Specification
Web Background Synchronization
# sync-manager-interface

浏览器兼容性

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.