mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-06 01:25:38 -05:00
18 lines
662 B
TypeScript
18 lines
662 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
declare module 'native-watchdog' {
|
|
|
|
/**
|
|
* Start monitoring for a certain pid to exist.
|
|
* If the process indicated by pid ceases to execute,
|
|
* the current process will exit in 6 seconds with exit code 87
|
|
*/
|
|
export function start(pid: number): void;
|
|
|
|
export function exit(exitCode: number): void;
|
|
|
|
}
|