How to use the tree-kill.default function in tree-kill

To help you get started, we’ve selected a few tree-kill examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ballerina-platform / ballerina-lang / composer / lang-service / src / server / server.ts View on Github external
const killLSProcess = () => {
            treekill.default(lsProcess.pid);
            clientConnection.dispose();
        };
        socket.onclose = killLSProcess;
github ballerina-platform / ballerina-lang / composer / lang-service / src / server / stdio.ts View on Github external
public shutdown(): void {
        if (this.lsProcess) {
            treekill.default(this.lsProcess.pid);
        }
    }
}
github ballerina-platform / ballerina-lang / composer / packages / lang-service / src / server / server.ts View on Github external
const killLSProcess = () => {
            treekill.default(lsProcess.pid);
            clientConnection.dispose();
        };
        socket.onclose = killLSProcess;

tree-kill

kill trees of processes

MIT
Latest version published 5 years ago

Package Health Score

71 / 100
Full package analysis