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

Method _read

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

Source from the content-addressed store, hash-verified

10443 if (typeof callback !== "function") {
10444 throw new InvalidArgumentError("invalid callback");
10445 }
10446 if (typeof factory !== "function") {
10447 throw new InvalidArgumentError("invalid factory");
10448 }
10449 if (signal && typeof signal.on !== "function" && typeof signal.addEventListener !== "function") {
10450 throw new InvalidArgumentError("signal must be an EventEmitter or EventTarget");
10451 }
10452 if (method === "CONNECT") {
10453 throw new InvalidArgumentError("invalid method");
10454 }

Callers 1

_destroyMethod · 0.45

Calls 1

resumeFunction · 0.70

Tested by

no test coverage detected