0

I want to use multithreading using node js. I have created node js app where based on user id I want to set up an indivisual thread. Please let me know how to do it with small code example in node js.

NOTE: I need small code example to explain.

Thanks

Sunny Chaudhari
  • 400
  • 1
  • 5
  • 19

1 Answers1

1

node.js is per concept single-threaded but you can use for example the npm package webworker treads

muetzerich
  • 5,600
  • 7
  • 37
  • 52