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 function stream(opts, factory, callback) {
10444 if (callback === void 0) {
10445 return new Promise((resolve2, reject) => {
10446 stream.call(this, opts, factory, (err, data) => {
10447 return err ? reject(err) : resolve2(data);
10448 });
10449 });
10450 }
10451 try {
10452 this.dispatch(opts, new StreamHandler(opts, factory, callback));
10453 } catch (err) {
10454 if (typeof callback !== "function") {

Callers 1

_destroyMethod · 0.45

Calls 1

resumeFunction · 0.70

Tested by

no test coverage detected