ServiceWorkerRegistration:sync 属性
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
io error: No such file or directory (os error 2) (/home/runner/work/yari/yari/mdn/translated-content/files/zh-cn/web/api/serviceworkerregistration/index.md)
备注: 此特性在 Web Worker 中可用。
ServiceWorkerRegistration
接口的 sync
只读属性返回管理后台同步进程的 SyncManager
接口的引用。
值
SyncManager
对象。
规范
Specification |
---|
Web Background Synchronization # dom-serviceworkerregistration-sync |
浏览器兼容性
BCD tables only load in the browser