-
-
Notifications
You must be signed in to change notification settings - Fork 38.9k
Worker Threads docs example not working #21830
Copy link
Copy link
Closed
Labels
docIssues and PRs related to Node.js documentation.Issues and PRs related to Node.js documentation.workerIssues and PRs related to the worker_threads module and Worker API.Issues and PRs related to the worker_threads module and Worker API.
Description
Activity
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to Node.js documentation.Issues and PRs related to Node.js documentation.workerIssues and PRs related to the worker_threads module and Worker API.Issues and PRs related to the worker_threads module and Worker API.
Hello,
Running the example from https://nodejs.org/docs/v10.6.0/api/worker_threads.html#worker_threads_class_worker doesn't work. It fails with:
I think it should be:
parentPort.onceright?