From 9bfbb6822ba0a78b8209719b6f358f9b5e4c075c Mon Sep 17 00:00:00 2001 From: yoshimoto koki Date: Wed, 5 Dec 2018 21:31:01 +0900 Subject: [PATCH] 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 Reviewed-By: Vse Mozhet Byt --- doc/api/worker_threads.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/api/worker_threads.md b/doc/api/worker_threads.md index bc9f18402fcfaf..ca3aed6140ca16 100644 --- a/doc/api/worker_threads.md +++ b/doc/api/worker_threads.md @@ -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.