UNPKG

nanolith

Version:

Multi-threading in no time with seamless TypeScript support.

6 lines (5 loc) 227 B
import type { TaskDefinitions } from '../types/definitions.js'; /** * Handles the entire worker process. */ export declare function workerHandler<Definitions extends TaskDefinitions>(definitions: Definitions): Promise<void>;