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
Prev Previous commit
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 cf835d169add63678e1e50951c2af5222a3641a0
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
-->

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