Searched refs:runWorker (Results 1 – 2 of 2) sorted by relevance
11 async function runWorker(options = {}) { function40 const w1stack = await runWorker();42 const w2stack = await runWorker();50 const w1stack = await runWorker({ resourceLimits: { stackSizeMb: 0.5 } });51 const w2stack = await runWorker({ resourceLimits: { stackSizeMb: 1.0 } });60 await runWorker({ resourceLimits: { stackSizeMb }, skipErrorCheck: true });
64 function runWorker(id, workerCallback = () => {}) { function140 const worker = runWorker(1);168 const exitPromise = runWorker(2, (w) => { worker = w; });186 worker1Exited = runWorker(2, resolve);196 const worker2Exited = runWorker(1)226 const exitPromise = runWorker(2, (w) => worker = w);269 await runWorker(1);