buncid/dist/utils/kill-child.d.ts

8 lines
304 B
TypeScript
Raw Normal View History

2025-01-16 08:28:46 +00:00
import { ChildProcess } from "child_process";
2025-01-16 05:22:33 +00:00
/**
* ## Kill Child Process Function
* @param {string | number | (string | number)[]} [port]
* @returns {Promise<boolean>}
*/
2025-01-16 08:28:46 +00:00
export default function killChild(childProcess?: ChildProcess, port?: string | number | (string | number)[]): Promise<boolean>;