MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / waitForChildExit

Function waitForChildExit

apps/local/src/db/v1-v2-migration.test.ts:710–717  ·  view source on GitHub ↗
(child: ChildProcessWithoutNullStreams)

Source from the content-addressed store, hash-verified

708};
709
710const waitForChildExit = (child: ChildProcessWithoutNullStreams): Promise<void> =>
711 new Promise((resolve) => {
712 if (child.exitCode !== null || child.signalCode !== null) {
713 resolve();
714 return;
715 }
716 child.once("exit", () => resolve());
717 });
718
719const killRestartPausePhases = [
720 "building",

Callers 1

killMigrationAtPauseFunction · 0.85

Calls 1

resolveFunction · 0.50

Tested by

no test coverage detected