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

Function onUpgrade

github-actions/browserstack/set-browserstack-env.js:291–295  ·  view source on GitHub ↗
(res, socket, head)

Source from the content-addressed store, hash-verified

289 res.upgrade = true;
290 }
291 function onUpgrade(res, socket, head) {
292 process.nextTick(function() {
293 onConnect(res, socket, head);
294 });
295 }
296 function onConnect(res, socket, head) {
297 connectReq.removeAllListeners();
298 socket.removeAllListeners();

Callers

nothing calls this directly

Calls 4

onConnectFunction · 0.70
appendMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected