-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
add docs for workers #1432
add docs for workers #1432
Conversation
There was one bug in the example that was mixing function keyword and arrow functions. I think we should just use arrow functions for workers because its an advanced feature and so we can assume the reader understands ES6. |
Co-Authored-By: UziTech <[email protected]>
Co-Authored-By: UziTech <[email protected]>
Co-Authored-By: UziTech <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💚
Nice catch |
wait to merge this until after worker_threads in node are stable |
I added notes about Worker Threads being experimental and Web Workers sending objects on https://docs-4nj255ohp.now.sh/#/USING_ADVANCED.md#workers I think this should be good to merge. |
Co-Authored-By: UziTech <[email protected]>
Description
Add examples of how to run marked in a worker on node and in a browser.
https://docs-4nj255ohp.now.sh/#/USING_ADVANCED.md#workers
fixes #1184
Contributor
Committer
In most cases, this should be a different person than the contributor.