From 2bebdc9116f0824f0eb6241445de6fb1925f4c15 Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Mon, 18 Jul 2022 22:24:35 +0200 Subject: feat(unstable): Ability to ref/unref "Child" in "Deno.spawnChild()" API (#15151) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bartek IwaƄczuk Co-authored-by: Colin Ihrig --- cli/dts/lib.deno.unstable.d.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cli/dts') 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; /** Kills the process with given Signal. Defaults to SIGTERM. */ kill(signo?: Signal): void; + + ref(): void; + unref(): void; } /** -- cgit v1.2.3