Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/garethgeorge/synchronization-js

A javascript library providing synchronization primitives like locks, queues, asyncqueues, and semaphores.
https://github.com/garethgeorge/synchronization-js

Last synced: about 1 month ago
JSON representation

A javascript library providing synchronization primitives like locks, queues, asyncqueues, and semaphores.

Awesome Lists containing this project

README

        

# SynchronizationJs

[![synchronization](https://github.com/garethgeorge/synchronization-js/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/garethgeorge/synchronization-js/actions/workflows/build-and-test.yml)

A library providing useful JavaScript synchronization primatives. Namely the package includes

1. Queue
2. AsyncQueue
3. Semaphore

Note: semaphore can be used as a lock with `new Semaphore(1)`.