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

Method add

github-actions/browserstack/set-browserstack-env.js:15830–15840  ·  view source on GitHub ↗
(_0)

Source from the content-addressed store, hash-verified

15828 });
15829 }
15830 add(_0) {
15831 return __async(this, arguments, function* (request) {
15832 webidl.brandCheck(this, _Cache);
15833 const prefix = "Cache.add";
15834 webidl.argumentLengthCheck(arguments, 1, prefix);
15835 request = webidl.converters.RequestInfo(request, prefix, "request");
15836 const requests = [request];
15837 const responseArrayPromise = this.addAll(requests);
15838 return yield responseArrayPromise;
15839 });
15840 }
15841 addAll(_0) {
15842 return __async(this, arguments, function* (requests) {
15843 webidl.brandCheck(this, _Cache);

Callers

nothing calls this directly

Calls 2

addAllMethod · 0.95
__asyncFunction · 0.70

Tested by

no test coverage detected