@alumis/semaphoredeprecated

A semaphore implementation written in Typescript. A semaphore limits the number of threads that can access a resource or pool of resources concurrently.

Usage no npm install needed!

<script type="module">
  import alumisSemaphore from 'https://cdn.skypack.dev/@alumis/semaphore';
</script>

README

Semaphore

A semaphore implementation written in Typescript. A semaphore limits the number of threads that can access a resource or pool of resources concurrently.