summaryrefslogtreecommitdiff
path: root/cli/dts
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2022-07-18 22:24:35 +0200
committerGitHub <noreply@github.com>2022-07-18 22:24:35 +0200
commit2bebdc9116f0824f0eb6241445de6fb1925f4c15 (patch)
tree55b2dbe9f7022b7693165b75a97e26cef0c2eb9c /cli/dts
parent9eb70bdb5fda8e66895e0e4cc1f356c2717f74c5 (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.ts3
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;
}
/**