stopTree
stopTree(
leader,signal,host,graceMs?):Promise<boolean>
Stop leader and every process it started, waiting until they are gone.
signal goes to the whole process group first (POSIX); whatever is still
there after graceMs is killed. Resolves true when the tree is gone, false
when something survived the kill (a process this user may not signal).
Parameters
Section titled “Parameters”leader
Section titled “leader”signal
Section titled “signal”Signals
graceMs?
Section titled “graceMs?”number = STOP_GRACE_MS
Returns
Section titled “Returns”Promise<boolean>