UNPKG

@ayonli/jsext

Version:

A JavaScript extension package for building strong and modern applications.

11 lines (10 loc) 345 B
import { ThreadedFunctions } from "../parallel.ts"; declare function parallel<M extends { [x: string]: any; }>(module: string | (() => Promise<M>)): ThreadedFunctions<M>; declare namespace parallel { var maxWorkers: number | undefined; var workerEntry: string | undefined; const isMainThread: boolean; } export default parallel;