UNPKG

nx

Version:

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

12 lines (11 loc) 426 B
import type { Serializable } from 'child_process'; export declare abstract class RunningTask { abstract getResults(): Promise<{ code: number; terminalOutput: string; }>; abstract onExit(cb: (code: number) => void): void; abstract kill(signal?: NodeJS.Signals): Promise<void> | void; abstract onOutput?(cb: (output: string) => void): void; abstract send?(message: Serializable): void; }