Answer the question
In order to leave comments, you need to log in
Worker threads in Electron?
Installed the latest version of node, and tried to run the code with threads, but got the error " Cannot find module 'worker_threads' ". I went to the documentation https://electronjs.org/docs/tutorial/multithreading and entered
webPreferences: {
nodeIntegrationInWorker: true
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question