mirror of https://github.com/nodejs/node.git
doc: add class worker documentation
Add documentation about Worker class inherits from EventEmitter. PR-URL: https://github.com/nodejs/node/pull/24849 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>pull/24975/head
parent
91c1f8a79b
commit
9fc0b7bdc8
|
@ -234,6 +234,8 @@ listeners for the event exist.
|
|||
added: v10.5.0
|
||||
-->
|
||||
|
||||
* Extends: {EventEmitter}
|
||||
|
||||
The `Worker` class represents an independent JavaScript execution thread.
|
||||
Most Node.js APIs are available inside of it.
|
||||
|
||||
|
|
Loading…
Reference in New Issue