Skip to content

Commit 9bfbb68

Browse 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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/api/worker_threads.md

+2
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)