Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
doc: add class worker documentation
Add documentation about Worker class inherits from EventEmitter.
  • Loading branch information
yoshimoto8 committed Dec 5, 2018
commit 3f1148f11383e3920a7e2c3400322fc4ee05dbb7
3 changes: 2 additions & 1 deletion doc/api/worker_threads.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,8 @@ added: v10.5.0
-->

Comment thread
lpinca marked this conversation as resolved.
The `Worker` class represents an independent JavaScript execution thread.
Most Node.js APIs are available inside of it.
This class inherits from `EventEmitter`, and most Node.js APIs are available
inside of it.

Notable differences inside a Worker environment are:

Expand Down