BackgroundFetchRegistration:recordsAvailable 属性
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
备注: 此特性在 Web Worker 中可用。
BackgroundFetchRecord
接口的只读属性 recordsAvailable
在存在可访问的请求和响应时返回 true
。如果此属性返回 false
,你将无法使用 match()
和 matchAll()
。