A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://developer.mozilla.org/en-US/docs/Web/API/BackgroundFetchRegistration/recordsAvailable below:

BackgroundFetchRegistration: recordsAvailable property - Web APIs

BackgroundFetchRegistration: recordsAvailable property

Limited availability

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

Note: This feature is available in Web Workers.

The recordsAvailable read-only property of the BackgroundFetchRegistration interface returns true if there are requests and responses to be accessed. If this returns false, then match() and matchAll() can't be used.

Value

A boolean.

Examples

Logging this property to the console returns true or false to indicate if there are records.

console.log(bgFetch.recordsAvailable);
Specifications Browser compatibility

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4