UNPKG

nx

Version:

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

13 lines 481 B
import { Socket } from 'net'; export interface Message extends Record<string, any> { type: string; data?: any; } export declare class DaemonSocketMessenger { private socket; constructor(socket: Socket); sendMessage(messageToDaemon: Message, force?: 'v8' | 'json'): Promise<void>; listen(onData: (message: string) => void, onClose?: () => void, onError?: (err: Error) => void): this; close(): void; } //# sourceMappingURL=daemon-socket-messenger.d.ts.map