MCPcopy Index your code
hub / github.com/loopbackio/loopback-next / closeWorker

Function closeWorker

benchmark/src/benchmark.ts:126–129  ·  view source on GitHub ↗
(worker: ChildProcess)

Source from the content-addressed store, hash-verified

124}
125
126async function closeWorker(worker: ChildProcess) {
127 worker.kill();
128 await once(worker, 'close');
129}

Callers 1

runScenarioMethod · 0.85

Calls 2

onceFunction · 0.85
killMethod · 0.80

Tested by

no test coverage detected