2017-11-28 15:10:15 +00:00
|
|
|
/// <reference types="node" />
|
2017-03-04 10:40:32 +00:00
|
|
|
import * as childProcess from 'child_process';
|
|
|
|
export declare class ThreadSimple {
|
|
|
|
workerPath: string;
|
|
|
|
threadChildProcess: childProcess.ChildProcess;
|
2017-03-04 11:24:32 +00:00
|
|
|
forkOptions: childProcess.ForkOptions;
|
2017-03-04 18:20:00 +00:00
|
|
|
argvArgs: string[];
|
|
|
|
constructor(filePathArg: string, argvArgs?: string[], forkOptionsArg?: childProcess.ForkOptions);
|
2017-03-04 11:05:53 +00:00
|
|
|
run(): Promise<childProcess.ChildProcess>;
|
2017-03-04 10:40:32 +00:00
|
|
|
}
|