summaryrefslogtreecommitdiff
path: root/doc/api/domain.md
diff options
context:
space:
mode:
authorKamat, Trivikram <16024985+trivikr@users.noreply.github.com>2019-08-23 22:02:23 -0700
committerTrivikram Kamat <16024985+trivikr@users.noreply.github.com>2019-09-01 08:18:10 -0700
commit89aea1514b3b44d4b60c6c556aa70e9ffed46391 (patch)
tree53ac24a4a4dae3b14e04a94043bbfe03dab85317 /doc/api/domain.md
parent9ab1e07774b0c38a66e29f4b0b257ded8ee04d08 (diff)
downloadandroid-node-v8-89aea1514b3b44d4b60c6c556aa70e9ffed46391.tar.gz
android-node-v8-89aea1514b3b44d4b60c6c556aa70e9ffed46391.tar.bz2
android-node-v8-89aea1514b3b44d4b60c6c556aa70e9ffed46391.zip
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 803fc2b830..4aae68cf40 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