diff options
Diffstat (limited to 'doc/api/domain.markdown')
-rw-r--r-- | doc/api/domain.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/domain.markdown b/doc/api/domain.markdown index 9321b38506..41d27c5625 100644 --- a/doc/api/domain.markdown +++ b/doc/api/domain.markdown @@ -313,7 +313,7 @@ to the domain. ### domain.add(emitter) -* `emitter` {EventEmitter | Timer} emitter or timer to be added to the domain +* `emitter` {EventEmitter|Timer} emitter or timer to be added to the domain Explicitly adds an emitter to the domain. If any event handlers called by the emitter throw an error, or if the emitter emits an `'error'` event, it @@ -329,7 +329,7 @@ from that one, and bound to this one instead. ### domain.remove(emitter) -* `emitter` {EventEmitter | Timer} emitter or timer to be removed from the domain +* `emitter` {EventEmitter|Timer} emitter or timer to be removed from the domain The opposite of [`domain.add(emitter)`][]. Removes domain handling from the specified emitter. |