node-tree-kill icon indicating copy to clipboard operation
node-tree-kill copied to clipboard

[feature request] support `sync` mode

Open aprilandjan opened this issue 4 years ago • 1 comments

Hi, thanks for your helpful module! This is a feature request. Can we have sync mode so I can correctly block my other code executions while using? For example:

const treeKill = require('tree-kill').sync;

console.log('try kill', pid);
treeKill(pid);
console.log(pid, 'killed')

aprilandjan avatar Oct 26 '20 05:10 aprilandjan

I switched to this:

https://github.com/nktnet1/kill-sync

vladpuz avatar Nov 02 '23 16:11 vladpuz