@runium/types-core 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +9 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -507,4 +507,13 @@ declare module '@runium/core' {
|
|
|
507
507
|
path: string,
|
|
508
508
|
data: T
|
|
509
509
|
): Promise<void>;
|
|
510
|
+
|
|
511
|
+
export function getProcessTreePids(pid: number): Promise<number[]>;
|
|
512
|
+
|
|
513
|
+
export function killProcessTree(
|
|
514
|
+
pid: number,
|
|
515
|
+
signal?: NodeJS.Signals,
|
|
516
|
+
forceSignal?: NodeJS.Signals,
|
|
517
|
+
timeout?: number
|
|
518
|
+
): Promise<void>;
|
|
510
519
|
}
|