diff --git a/doc/api/child_process.md b/doc/api/child_process.md index 70345e9472c66e3..32844e822d4f774 100644 --- a/doc/api/child_process.md +++ b/doc/api/child_process.md @@ -1402,6 +1402,17 @@ setTimeout(() => { }, 2000); ``` +### `subprocess[Symbol.asyncDispose]()` + + + +> Stability: 1 - Experimental + +Calls [`subprocess.kill()`][] with the `killSignal` option (the default is `'SIGTERM'`). +and returns a promise that fulfills when the process is closed. + ### `subprocess.killed`