Skip to content

Commit 5b12fe0

Browse files
yoshimoto8refack
authored andcommitted
doc: add class worker documentation
Add documentation about Worker class inherits from EventEmitter. PR-URL: nodejs#24849 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
1 parent eb30e8b commit 5b12fe0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

doc/api/worker_threads.md

Lines changed: 2 additions & 0 deletions
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)