UNPKG

nx

Version:

The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.

15 lines (14 loc) 555 B
import { BatchResults } from '../batch/batch-messages'; import { ChildProcess, Serializable } from 'child_process'; export declare class BatchProcess { private childProcess; private executorName; private exitCallbacks; private resultsCallbacks; constructor(childProcess: ChildProcess, executorName: string); onExit(cb: (code: number) => void): void; onResults(cb: (results: BatchResults) => void): void; getResults(): Promise<BatchResults>; send(message: Serializable): void; kill(signal?: NodeJS.Signals): void; }