UNPKG

concurrent-worker

Version:
3 lines (2 loc) 250 B
import { IWorkerConfig, IWorkerContext } from "./types"; export declare const createWorkerUrl: <T extends unknown[], C extends IWorkerContext, R>(execute: (...args: T) => R, config: IWorkerConfig<T, C, R>, terminateOnCompletion?: boolean) => string;