SyncManager:getTags() 方法
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
备注: 此特性在 Web Worker 中可用。
SyncManager
接口的 getTags()
方法返回开发人员定义的用于 SyncManager
注册的标识符列表。
语法
js
getTags()
参数
无。
返回值
一个 Promise
,兑现为包含开发人员定义的用于 SyncManager
注册的标识符的字符串数组。
规范
Specification |
---|
Web Background Synchronization # dom-syncmanager-gettags |
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
getTags |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- See implementation notes.
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.