You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
434 B

2 years ago
/**
* 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 };