mirror of
https://git.stamm.me/OpenServer/NodeLogging.git
synced 2024-11-15 02:31:03 +00:00
13 lines
256 B
TypeScript
13 lines
256 B
TypeScript
export declare type Release = {
|
|
release: () => void;
|
|
};
|
|
export default class Lock {
|
|
private _locked;
|
|
readonly locked: boolean;
|
|
private toCome;
|
|
constructor();
|
|
getLock(): Promise<Release>;
|
|
private lock();
|
|
private release();
|
|
}
|