diff options
| author | Leo Kettmeir <crowlkats@toaxl.com> | 2022-05-11 07:59:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-11 07:59:39 +0200 |
| commit | b67f874b3fb172168997be410b1d5e3c3109c763 (patch) | |
| tree | ab24a5ffe1fd7bb54a43e9a6b3e4b13fa153cfe7 /cli/dts | |
| parent | e3f4b02f48c1e1b1e70cb9237126b9bc5d9720e3 (diff) | |
feat(runtime/spawn): add `AbortSignal` support (#14538)
Diffstat (limited to 'cli/dts')
| -rw-r--r-- | cli/dts/lib.deno.unstable.d.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts index fbbe165f9..ca437bf44 100644 --- a/cli/dts/lib.deno.unstable.d.ts +++ b/cli/dts/lib.deno.unstable.d.ts @@ -1346,6 +1346,12 @@ declare namespace Deno { uid?: number; /** Similar to `uid`, but sets the group ID of the child process. */ gid?: number; + /** + * An AbortSignal that allows closing the process using the corresponding + * AbortController by sending the process a SIGTERM signal. + * Not Supported by execSync. + */ + signal?: AbortSignal; /** Defaults to "null". */ stdin?: "piped" | "inherit" | "null"; |
