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 channels.bodySent.publish({ request: this });
2031 }
2032 if (this[kHandler].onRequestSent) {
2033 try {
2034 return this[kHandler].onRequestSent();
2035 } catch (err) {
2036 this.abort(err);
2037 }
2038 }
2039 }
2040 onConnect(abort) {
2041 assert(!this.aborted);
2042 assert(!this.completed);
2043 if (this.error) {
2044 abort(this.error);

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