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 API 的 SyncManager
接口提供了用于注册和列出同步注册情况的接口。
实例属性
无。
实例方法
SyncManager.register()
-
创建一个新的同步注册并返回
Promise
。 -
返回开发人员定义的
SyncManager
注册标识符列表。
规范
Specification |
---|
Web Background Synchronization # sync-manager-interface |
浏览器兼容性
Report problems with this compatibility data on GitHubLegend
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.
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.