UNPKG

spawn-workers

Version:

A high-performance worker pool library for Node.js that spawns worker processes to handle tasks in parallel

3 lines 242 B
import type { JobExecutionConfig } from "./types"; export declare function runInWorker<T extends Record<string, number>>({ handler, onExit, customStatus, tickDuration, }: JobExecutionConfig<T>): void; //# sourceMappingURL=runInWorker.d.ts.map