I've decided to familiarize myself with node.js and have read a several articles on the subject. What remained unclear to me is if node.js creates new threads and/or schedules tasks on threads from a thread pool when you call node.js functions.
For example if I call fs.readFile
is it executed on a different thread?
If yes, [how] can I write my own function readFileCustomized
or doLongOperation
to run on a different thread?