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 } catch (err) {
2072 this.abort(err);
2073 return false;
2074 }
2075 }
2076 /**
2077 * @param {number|null} statusCode
2078 * @param {Buffer[]|null} headers
2079 * @param {import('node:stream').Duplex} socket
2080 * @param {string} [statusText]
2081 */
2082 onUpgrade(statusCode, headers, socket, statusText = "") {
2083 this.onFinally();
2084 assert(!this.aborted);
2085 assert(!this.completed);
2086 if (statusCode !== null) {
2087 __privateMethod(this, _publishUpgradeHeaders, publishUpgradeHeaders_fn).call(this, statusCode, headers, statusText);
2088 }

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