Skip to content
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

Worker Threads feature are experimental between v10.5.0 and v11.7.0 #55794

Open
skyclouds2001 opened this issue Nov 9, 2024 · 4 comments
Open
Labels
doc Issues and PRs related to the documentations.

Comments

@skyclouds2001
Copy link
Contributor

Affected URL(s)

https://nodejs.org/docs/latest/api/worker_threads.html

Description of the problem

Worker Threads feature are experiment between v10.5.0 and v11.7.0 and must enable by passing --experimental-worker runtime flag; currently the doc mention no info about this

see mdn/browser-compat-data#25012 for more detail

@skyclouds2001 skyclouds2001 added the doc Issues and PRs related to the documentations. label Nov 9, 2024
@skyclouds2001 skyclouds2001 changed the title Worker Threads feature are experiment between v10.5.0 and v11.7.0 Worker Threads feature are experimental between v10.5.0 and v11.7.0 Nov 9, 2024
@legendecas
Copy link
Member

It is possible to switch to a specific version of document at the top goto-toolbar "view another version": https://nodejs.org/docs/latest-v10.x/api/worker_threads.html. The link in the OP links to the latest version of Node.js, and in that version (v23.x) worker_threads module is stable.

@skyclouds2001
Copy link
Contributor Author

we should documentated which version it is no longer behind a CLI flag

like https://nodejs.org/docs/latest/api/globals.html#crypto_1

image

@skyclouds2001
Copy link
Contributor Author

It is possible to switch to a specific version of document at the top goto-toolbar "view another version": https://nodejs.org/docs/latest-v10.x/api/worker_threads.html. The link in the OP links to the latest version of Node.js, and in that version (v23.x) worker_threads module is stable.

It's true. But notice this information is incomplete and misunderstanding. And for documentations, it should not only list the support status for current version, but it should also list the support status for previous versions.

@legendecas
Copy link
Member

Sounds good. PR is welcomed to add history metadata (example) to the Worker doc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Issues and PRs related to the documentations.
Projects
None yet
Development

No branches or pull requests

2 participants