smartspawn/dist/smartipc.classes.threadsimple.d.ts
2017-03-04 12:24:32 +01:00

9 lines
331 B
TypeScript

import * as childProcess from 'child_process';
export declare class ThreadSimple {
workerPath: string;
threadChildProcess: childProcess.ChildProcess;
forkOptions: childProcess.ForkOptions;
constructor(filePathArg: string, forkOptionsArg?: childProcess.ForkOptions);
run(): Promise<childProcess.ChildProcess>;
}