uni-ticket-system/node_modules/licia/Semaphore.d.ts

8 lines
136 B
TypeScript
Raw Normal View History

2023-12-05 02:11:10 +00:00
declare class Semaphore {
constructor(counter?: number);
wait(fn: () => void): void;
signal(): void;
}
export = Semaphore;