MCPcopy Create free account
hub / github.com/angular/dev-infra / keys

Method keys

github-actions/browserstack/set-browserstack-env.js:16422–16428  ·  view source on GitHub ↗

* @see https://w3c.github.io/ServiceWorker/#cache-storage-keys * @returns {Promise }

()

Source from the content-addressed store, hash-verified

16420 return __async(this, arguments, function* (cacheName) {
16421 webidl.brandCheck(this, _CacheStorage);
16422 const prefix = "CacheStorage.has";
16423 webidl.argumentLengthCheck(arguments, 1, prefix);
16424 cacheName = webidl.converters.DOMString(cacheName, prefix, "cacheName");
16425 return __privateGet(this, _caches).has(cacheName);
16426 });
16427 }
16428 /**
16429 * @see https://w3c.github.io/ServiceWorker/#dom-cachestorage-open
16430 * @param {string} cacheName
16431 * @returns {Promise<Cache>}

Callers

nothing calls this directly

Calls 3

__asyncFunction · 0.70
__privateGetFunction · 0.70
keysMethod · 0.45

Tested by

no test coverage detected