📄 ProcessLike.d.ts
/home/palash/git/site/node_modules/fork-ts-checker-webpack-plugin/lib/rpc/rpc-ipc/ProcessLike.d.ts
Language: ts • Lines: 12
/**
 * This interface describes Node.js process that is potentially able to communicate over IPC channel
 */
interface ProcessLike {
    pid?: string | number;
    send?: (message: any, sendHandle?: any, options?: any, callback?: (error: any) => void) => boolean;
    on: (event: any, listener: any) => any;
    off: (event: any, listener?: any) => any;
    connected?: boolean;
    disconnect?: () => void;
}
export { ProcessLike };