micro-semaphore
v1.1.0
Published
Barebones semaphore
Downloads
5
Readme
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>;
};