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

Method onConnect

github-actions/browserstack/set-browserstack-env.js:2032–2041  ·  view source on GitHub ↗
(abort)

Source from the content-addressed store, hash-verified

2030 }
2031 }
2032 onConnect(abort) {
2033 assert(!this.aborted);
2034 assert(!this.completed);
2035 if (this.error) {
2036 abort(this.error);
2037 } else {
2038 this.abort = abort;
2039 return this[kHandler].onConnect(abort);
2040 }
2041 }
2042 onResponseStarted() {
2043 var _a, _b;
2044 return (_b = (_a = this[kHandler]).onResponseStarted) == null ? void 0 : _b.call(_a);

Callers 3

writeH1Function · 0.45
writeH2Function · 0.45
constructorMethod · 0.45

Calls 4

abortFunction · 0.70
__privateGetFunction · 0.70
__privateSetFunction · 0.70
__privateMethodFunction · 0.70

Tested by

no test coverage detected