更新
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
declare class Semaphore {
|
||||
constructor(counter?: number);
|
||||
wait(fn: () => void): void;
|
||||
signal(): void;
|
||||
}
|
||||
|
||||
export = Semaphore;
|
||||
Reference in New Issue
Block a user