This package helps with threads synchronization.
Node.js - Worker threads
Browser - Web Worker
The package uses Atomics API behind the scenes and implements different locks.
Installation
npm i web-mutex
This package helps with threads synchronization.
Node.js - Worker threads
Browser - Web Worker
The package uses Atomics API behind the scenes and implements different locks.
npm i web-mutex
npm i web-mutex
2
1.0.1
MIT
43 kB
32