mirror of
https://github.com/denoland/deno.git
synced 2025-07-23 05:05:08 +00:00
Make Deno.kill unstable (#4950)
This commit is contained in:
parent
22b1a302f4
commit
15099cc016
2 changed files with 8 additions and 0 deletions
7
cli/js/lib.deno.ns.d.ts
vendored
7
cli/js/lib.deno.ns.d.ts
vendored
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue