Skip to content

Commit

Permalink
doc: add class worker documentation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
yoshimoto8 authored and refack committed Jan 10, 2019
1 parent eb30e8b commit 5b12fe0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/api/worker_threads.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 5b12fe0

Please sign in to comment.