diff options
author | yoshimoto koki <yoyoyo427435@gmail.com> | 2018-12-05 21:31:01 +0900 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-12-11 23:12:05 +0200 |
commit | 9fc0b7bdc823185c0b902b577598da2ef53447ad (patch) | |
tree | 86a2f35c0a2df9d0e1d87d78d09ed7c8042fd3f3 /doc | |
parent | 91c1f8a79b615126e406d97384db7606d9602356 (diff) | |
download | android-node-v8-9fc0b7bdc823185c0b902b577598da2ef53447ad.tar.gz android-node-v8-9fc0b7bdc823185c0b902b577598da2ef53447ad.tar.bz2 android-node-v8-9fc0b7bdc823185c0b902b577598da2ef53447ad.zip |
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>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/worker_threads.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/worker_threads.md b/doc/api/worker_threads.md index bc9f18402f..ca3aed6140 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. |