INNER CODE UNIT · TypeScript

Promise

microsoft/graphitation · packages/apollo-forest-run-benchmark/src/index.ts:26

  return new Promise((resolve) => {
    const workerScript = path.join(__dirname, "runners", "suite-worker.js");
    const child = spawn(
      process.execPath,
      [
        "--noconcurrent_sweeping",
        "--noconcurrent_recompilation",
        workerScript,
        JSON.stringify(job),
      ],
      {
        env: {
          ...process.env,
        },
        stdio: ["pipe", "pipe", "pipe"],
      },
    );

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…