UNPKG

nx

Version:

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

22 lines 924 B
import type { ChildProcess, Serializable } from 'child_process'; import type { TaskResult } from '../../config/misc-interfaces'; import { BatchResults } from '../batch/batch-messages'; export declare class BatchProcess { private childProcess; private executorName; private exitCallbacks; private batchResultsCallbacks; private taskResultsCallbacks; private outputCallbacks; private terminalOutput; constructor(childProcess: ChildProcess, executorName: string); onExit(cb: (code: number) => void): void; onBatchResults(cb: (results: BatchResults) => void): void; onTaskResults(cb: (task: string, result: TaskResult) => void): void; onOutput(cb: (output: string) => void): void; getResults(): Promise<BatchResults>; send(message: Serializable): void; kill(signal?: NodeJS.Signals): void; getTerminalOutput(): string; } //# sourceMappingURL=batch-process.d.ts.map