We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
main.js
var worker = new Worker('worker.js'); worker.addEventListener('message', function(event){ // do something... });
worker.js
// do something... onmessage =function(event) { // do something... postMessage(); }
The text was updated successfully, but these errors were encountered:
Closing
There is an open PR to try to do just this 🎉
#2133
Turns out it is pretty hard
Sorry, something went wrong.
Just found out that one [https://github.com/pgriess/node-webworker]
that project hasn't been touched since 2011, you might want to stay clear.
the cluster api or child process might help depending on what you want to do
On Wed, Aug 17, 2016, 1:49 AM suplch notifications@github.com wrote:
Just found out that one [https://github.com/pgriess/node-webworker] — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub #8137 (comment), or mute the thread https://github.com/notifications/unsubscribe-auth/AAecVydpAnShQFhiYJlg4zea9WjBzslrks5qgqDTgaJpZM4JmHFr .
— You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub #8137 (comment), or mute the thread https://github.com/notifications/unsubscribe-auth/AAecVydpAnShQFhiYJlg4zea9WjBzslrks5qgqDTgaJpZM4JmHFr .
No branches or pull requests
main.js
worker.js
The text was updated successfully, but these errors were encountered: