diff options
author | Luca Casonato <lucacasonato@yahoo.com> | 2020-04-28 05:36:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-27 23:36:43 -0400 |
commit | 15099cc0160a6f1bc5f569c44018da6f5a186138 (patch) | |
tree | c39634d65eaa170882549306659885849d0093c8 /cli/js | |
parent | 22b1a302f48bc1fdea27f19cd1e5740c1ff72cbc (diff) |
Make Deno.kill unstable (#4950)
Diffstat (limited to 'cli/js')
-rw-r--r-- | cli/js/lib.deno.ns.d.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/js/lib.deno.ns.d.ts b/cli/js/lib.deno.ns.d.ts index 8ae71b23f..d33fde844 100644 --- a/cli/js/lib.deno.ns.d.ts +++ b/cli/js/lib.deno.ns.d.ts @@ -2177,6 +2177,13 @@ declare namespace Deno { * This calls `close()` on stderr after its done. */ stderrOutput(): Promise<Uint8Array>; close(): void; + + /** **UNSTABLE**: The `signo` argument may change to require the Deno.Signal + * enum. + * + * Send a signal to process. This functionality currently only works on + * Linux and Mac OS. + */ kill(signo: number): void; } |