MCPcopy Create free account
hub / github.com/BuilderIO/framework-benchmarks / killAll

Function killAll

src/helpers/kill-process.ts:15–18  ·  view source on GitHub ↗
(frameworks: string[])

Source from the content-addressed store, hash-verified

13 * servers if running
14 */
15export async function killAll(frameworks: string[]) {
16 const ports = new Set(await Promise.all(frameworks.map(getPort)));
17 return Promise.all(Array.from(ports).map(killProcess));
18}

Callers 6

measure.tsFile · 0.85
kill.tsFile · 0.85
measure-flow.tsFile · 0.85
measure-ssr.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected