Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 371 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 371 Bytes

node-worker-threads

Different approaches to use worker threads in Node.js.

Base - no worker threads

node 1-base/main.js

Separate files

node 2-separate-files/main.js

Promises

node 3-promises/main.js

Single file

node 4-single-file/main.js

Piscina

cd 5-piscina
npm install
node main.js