a synchronize concurrent processes running on different threads
just clone this repo by running your terminal & typing :
git clone https://github.com/ivandi1980/mutex-concurrent.git
and then typing : npm install
Find and Edit this area on your : package.json
"scripts": {
- "test": "echo \"Error: no test specified\" && exit 1"
+ "start": "node index.js"
},
and finally run : npm start