mirror of
https://github.com/denoland/deno.git
synced 2025-09-29 21:54:48 +00:00
feat(unstable): Deno.ppid (#6539)
This commit is contained in:
parent
231899695d
commit
a2bf61d1ae
6 changed files with 91 additions and 2 deletions
5
cli/js/lib.deno.unstable.d.ts
vendored
5
cli/js/lib.deno.unstable.d.ts
vendored
|
@ -1194,4 +1194,9 @@ declare namespace Deno {
|
|||
* ```
|
||||
*/
|
||||
export function fstat(rid: number): Promise<FileInfo>;
|
||||
|
||||
/** **UNSTABLE**: New API, yet to be vetted.
|
||||
* The pid of the current process's parent.
|
||||
*/
|
||||
export const ppid: number;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue