diff options
author | Leo Kettmeir <crowlkats@toaxl.com> | 2022-07-18 22:24:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-18 22:24:35 +0200 |
commit | 2bebdc9116f0824f0eb6241445de6fb1925f4c15 (patch) | |
tree | 55b2dbe9f7022b7693165b75a97e26cef0c2eb9c /cli/dts | |
parent | 9eb70bdb5fda8e66895e0e4cc1f356c2717f74c5 (diff) |
feat(unstable): Ability to ref/unref "Child" in "Deno.spawnChild()" API (#15151)
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Co-authored-by: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'cli/dts')
-rw-r--r-- | cli/dts/lib.deno.unstable.d.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts index 3bd990021..50749e1d6 100644 --- a/cli/dts/lib.deno.unstable.d.ts +++ b/cli/dts/lib.deno.unstable.d.ts @@ -1176,6 +1176,9 @@ declare namespace Deno { output(): Promise<SpawnOutput>; /** Kills the process with given Signal. Defaults to SIGTERM. */ kill(signo?: Signal): void; + + ref(): void; + unref(): void; } /** |