Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9bfbb68

Browse filesBrowse files
yoshimoto8BethGriggs
authored andcommitted
doc: add class worker documentation
Add documentation about Worker class inherits from EventEmitter. PR-URL: #24849 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
1 parent 08c6b21 commit 9bfbb68
Copy full SHA for 9bfbb68

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Open diff view settings
Collapse file

‎doc/api/worker_threads.md‎

Copy file name to clipboardExpand all lines: doc/api/worker_threads.md
+2Lines changed: 2 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,8 @@ listeners for the event exist.
234234
added: v10.5.0
235235
-->
236236

237+
* Extends: {EventEmitter}
238+
237239
The `Worker` class represents an independent JavaScript execution thread.
238240
Most Node.js APIs are available inside of it.
239241

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.