Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamat, Trivikram <16024985+trivikr@users.noreply.github.com>2019-08-24 08:02:23 +0300
committerTrivikram Kamat <16024985+trivikr@users.noreply.github.com>2019-09-01 18:18:10 +0300
commit89aea1514b3b44d4b60c6c556aa70e9ffed46391 (patch)
tree53ac24a4a4dae3b14e04a94043bbfe03dab85317 /doc/api/domain.md
parent9ab1e07774b0c38a66e29f4b0b257ded8ee04d08 (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/domain.md')
-rw-r--r--doc/api/domain.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/domain.md b/doc/api/domain.md
index 803fc2b830e..4aae68cf402 100644
--- a/doc/api/domain.md
+++ b/doc/api/domain.md
@@ -273,11 +273,12 @@ serverDomain.run(() => {
## Class: Domain
+* Extends: {EventEmitter}
+
The `Domain` class encapsulates the functionality of routing errors and
uncaught exceptions to the active `Domain` object.
-`Domain` is a child class of [`EventEmitter`][]. To handle the errors that it
-catches, listen to its `'error'` event.
+To handle the errors that it catches, listen to its `'error'` event.
### domain.members
@@ -475,7 +476,6 @@ Promises. In other words, no `'error'` event will be emitted for unhandled
`Promise` rejections.
[`Error`]: errors.html#errors_class_error
-[`EventEmitter`]: events.html#events_class_eventemitter
[`domain.add(emitter)`]: #domain_domain_add_emitter
[`domain.bind(callback)`]: #domain_domain_bind_callback
[`domain.exit()`]: #domain_domain_exit