mirror of
https://git.stamm.me/OpenServer/NodeLogging.git
synced 2024-11-15 05:21:05 +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();
|
||
|
}
|