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

Method onComplete

github-actions/browserstack/set-browserstack-env.js:2073–2085  ·  view source on GitHub ↗
(trailers)

Source from the content-addressed store, hash-verified

2071 return this[kHandler].onUpgrade(statusCode, headers, socket);
2072 }
2073 onComplete(trailers) {
2074 this.onFinally();
2075 assert(!this.aborted);
2076 this.completed = true;
2077 if (channels.trailers.hasSubscribers) {
2078 channels.trailers.publish({ request: this, trailers });
2079 }
2080 try {
2081 return this[kHandler].onComplete(trailers);
2082 } catch (err) {
2083 this.onError(err);
2084 }
2085 }
2086 onError(error) {
2087 this.onFinally();
2088 if (channels.error.hasSubscribers) {

Callers 4

onMessageCompleteMethod · 0.45
writeH2Function · 0.45
onCompleteMethod · 0.45
onDataMethod · 0.45

Calls 7

removeSignalFunction · 0.70
__privateGetFunction · 0.70
onFinallyMethod · 0.45
onErrorMethod · 0.45
dispatchMethod · 0.45
pushMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected