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

Method dispatch

github-actions/browserstack/set-browserstack-env.js:2196–2198  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2194 } else if (val[i] === null) {
2195 arr.push("");
2196 } else if (typeof val[i] === "object") {
2197 throw new InvalidArgumentError(`invalid ${key} header`);
2198 } else {
2199 const str = `${val[i]}`;
2200 if (!isValidHeaderValue(str)) {
2201 throw new InvalidArgumentError(`invalid ${key} header`);

Callers 10

onCompleteMethod · 0.45
constructorMethod · 0.45
[kDispatch]Method · 0.45
onRetryMethod · 0.45
requestFunction · 0.45
streamFunction · 0.45
pipelineFunction · 0.45
upgradeFunction · 0.45
connectFunction · 0.45
dispatchFunction · 0.45

Calls 7

__privateGetFunction · 0.70
buildHeadersFunction · 0.70
throwIfProxyAuthIsSentFunction · 0.70
__spreadPropsFunction · 0.70
__spreadValuesFunction · 0.70
onErrorMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected