-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Web Workers? #2020
Comments
+1 |
Can people refrain from adding +1 comments? They are not helpful. Fixing this will depend on Worker support in Node.js core, which is already supported by Ayo.js but yet to be backmerged into Node.js. Both the primary author of the feature and I are unfortunately short on time to make this happen soon. |
Now that node supports the worker threads API should this be investigated again? |
This would be quite cool to have, basically we will need our own Worker/SharedWorker classes that use the worker_threads inside with their own entry script that wraps around the user supplied script and creates a web worker like environment, e.g. |
Basic info:
Minimal reproduction case
How does similar code behave in browsers?
You'd probably get the error that the file doesn't exist but
Worker
would be defined.The text was updated successfully, but these errors were encountered: