mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
13 lines
384 B
TypeScript
13 lines
384 B
TypeScript
// Type definitions for windows-mutex 0.4
|
|
// Project: https://github.com/Microsoft/node-windows-mutex
|
|
// Definitions by: Benjamin Pasero <https://github.com/bpasero>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
export class Mutex {
|
|
constructor(name: string);
|
|
isActive(): boolean;
|
|
release(): void;
|
|
}
|
|
|
|
export function isActive(name: string): boolean;
|