audreyt / node-webworker-threads

Lightweight Web Worker API implementation with native threads
https://npmjs.org/package/webworker-threads
Other
2.3k stars 149 forks source link

How to use importScripts #171

Open croraf opened 7 years ago

croraf commented 7 years ago

I cannot make importScripts to work as my code hangs on this line.

Here is my question not to repeat myself: https://stackoverflow.com/questions/47490569/webworker-threads-nodejs-multithreading-requiring-file

I've found similar issue here but I'm still not clear how to import correctly: https://github.com/audreyt/node-webworker-threads/issues/15