micro-semaphore
What is this
A barebones implementation of a semaphore
API/Types
export default function createSemaphor(capacity?: number): {
then: <R>(func?: () => R) => Promise<R>;
};
A barebones implementation of a semaphore
export default function createSemaphor(capacity?: number): {
then: <R>(func?: () => R) => Promise<R>;
};