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

Function __awaiter6

github-actions/browserstack/set-browserstack-env.js:20568–20594  ·  view source on GitHub ↗
(thisArg, _arguments, P, generator)

Source from the content-addressed store, hash-verified

20566 return;
20567 }
20568 if (!state.processClosed && state.processExited) {
20569 const message = `The STDIO streams did not close within ${state.delay / 1e3} seconds of the exit event from process '${state.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;
20570 state._debug(message);
20571 }
20572 state._setResult();
20573 }
20574 };
20575
20576 //
20577 var __awaiter5 = function(thisArg, _arguments, P, generator) {
20578 function adopt(value) {
20579 return value instanceof P ? value : new P(function(resolve2) {
20580 resolve2(value);
20581 });
20582 }
20583 return new (P || (P = Promise))(function(resolve2, reject) {
20584 function fulfilled(value) {
20585 try {
20586 step(generator.next(value));
20587 } catch (e) {
20588 reject(e);
20589 }
20590 }
20591 function rejected(value) {
20592 try {
20593 step(generator["throw"](value));
20594 } catch (e) {
20595 reject(e);
20596 }
20597 }

Callers 4

getWindowsInfoFunction · 0.70
getMacOsInfoFunction · 0.70
getLinuxInfoFunction · 0.70
getDetailsFunction · 0.70

Calls 3

stepFunction · 0.70
nextMethod · 0.45
applyMethod · 0.45

Tested by

no test coverage detected