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

Method onFinally

github-actions/browserstack/set-browserstack-env.js:2097–2106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2095 }
2096 return result;
2097 }
2098 /**
2099 * @param {number} statusCode
2100 * @param {import('node:http2').IncomingHttpHeaders} headers
2101 * @param {(headers: import('node:http2').IncomingHttpHeaders) => Buffer[]} parseHeaders
2102 * @param {string} [statusText]
2103 */
2104 onUpgradeResponse(statusCode, headers, parseHeaders, statusText = "") {
2105 assert(!this.aborted);
2106 assert(this.completed);
2107 if (channels.headers.hasSubscribers) {
2108 __privateMethod(this, _publishUpgradeHeaders, publishUpgradeHeaders_fn).call(this, statusCode, parseHeaders(headers), statusText);
2109 }

Callers 2

onCompleteMethod · 0.45
onErrorMethod · 0.45

Calls 1

offMethod · 0.45

Tested by

no test coverage detected