diff options
author | Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> | 2019-08-24 08:02:23 +0300 |
---|---|---|
committer | Trivikram Kamat <16024985+trivikr@users.noreply.github.com> | 2019-09-01 18:18:10 +0300 |
commit | 89aea1514b3b44d4b60c6c556aa70e9ffed46391 (patch) | |
tree | 53ac24a4a4dae3b14e04a94043bbfe03dab85317 /doc/api/cluster.md | |
parent | 9ab1e07774b0c38a66e29f4b0b257ded8ee04d08 (diff) |
doc: add extends for derived classes
PR-URL: https://github.com/nodejs/node/pull/29290
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/cluster.md')
-rw-r--r-- | doc/api/cluster.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/cluster.md b/doc/api/cluster.md index 8036f82e797..fb7328aa4d7 100644 --- a/doc/api/cluster.md +++ b/doc/api/cluster.md @@ -116,6 +116,8 @@ also be used for other use cases requiring worker processes. added: v0.7.0 --> +* Extends: {EventEmitter} + A `Worker` object contains all public information and method about a worker. In the master it can be obtained using `cluster.workers`. In a worker it can be obtained using `cluster.worker`. |