Skip to content

refactor: rename "web worker" to "worker thread" #29456

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

Closed

Conversation

bartlomieju
Copy link
Member

This is a completely internal change - throughout the codebase we've used notion
of "web worker" to describe a separate thread running JavaScript. While it started
as a "Web Worker" implementation, this infrastructure is now used to implement
both Web workers as well as Node.js "worker_threads" module. It seems more
fitting to rename these modules and structs to "worker thread" as in reality
"Web Worker" API is a subset of Node.js "worker_threads" module.

@bartlomieju
Copy link
Member Author

Closing for now, I actually want to first push better node:worker_threads support before doing this invasive refactor.

@bartlomieju bartlomieju deleted the worker_thread_refactor branch May 27, 2025 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant