feat(unstable): Deno.ppid (#6539)

This commit is contained in:
uki00a 2020-07-08 23:35:45 +09:00 committed by GitHub
parent 231899695d
commit a2bf61d1ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 91 additions and 2 deletions

View file

@ -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;
}