Interface ISemaphore

interface ISemaphore {
    acquire(): Promise<void>;
    count(): number;
    purge(): number;
    release(): void;
    setMax(newMax): void;
}

Methods

Generated using TypeDoc