diff options
author | Anna Henningsen <anna@addaleax.net> | 2020-04-24 19:43:06 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2020-04-28 16:23:46 +0300 |
commit | 9c7c8769183b5d58925925b8d34571f41e7be275 (patch) | |
tree | 5b2b94f2caa1db734b8542ca4b6b9d7ea3883455 /doc/api/events.md | |
parent | 039c5e4b893071ab8857794ea421481b87fb31eb (diff) |
doc: fix LTS replaceme tags
When cherry-picking release commits for LTS releases into master,
the `REPLACEME` metadata can be taken over as well, to give users
a more accurate view of what is being released on which release line.
This addresses this problem for all previous LTS releases for which
this has not been done.
Fixes: https://github.com/nodejs/node/issues/33001
PR-URL: https://github.com/nodejs/node/pull/33041
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Shelley Vohr <codebytere@gmail.com>
Diffstat (limited to 'doc/api/events.md')
-rw-r--r-- | doc/api/events.md | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/doc/api/events.md b/doc/api/events.md index b23da5a523e..a30e2abb013 100644 --- a/doc/api/events.md +++ b/doc/api/events.md @@ -224,7 +224,9 @@ recommendation is to **not use `async` functions as `'error'` event handlers**. <!-- YAML added: v0.1.26 changes: - - version: v13.4.0 + - version: + - v13.4.0 + - v12.16.0 pr-url: https://github.com/nodejs/node/pull/27867 description: Added captureRejections option. --> @@ -362,7 +364,9 @@ Its `name` property is set to `'MaxListenersExceededWarning'`. ### `EventEmitter.errorMonitor` <!-- YAML -added: v13.6.0 +added: + - v13.6.0 + - v12.16.0 --> This symbol shall be used to install a listener for only monitoring `'error'` @@ -783,7 +787,9 @@ emitter.emit('log'); ### `emitter[Symbol.for('nodejs.rejection')](err, eventName[, ...args])` <!-- YAML -added: v13.4.0 +added: + - v13.4.0 + - v12.16.0 --> > Stability: 1 - captureRejections is experimental. @@ -819,7 +825,9 @@ class MyClass extends EventEmitter { ## `events.once(emitter, name)` <!-- YAML -added: v11.13.0 +added: + - v11.13.0 + - v10.16.0 --> * `emitter` {EventEmitter} @@ -865,7 +873,9 @@ run(); ## `events.captureRejections` <!-- YAML -added: v13.4.0 +added: + - v13.4.0 + - v12.16.0 --> > Stability: 1 - captureRejections is experimental. @@ -876,7 +886,9 @@ Change the default `captureRejections` option on all new `EventEmitter` objects. ## `events.captureRejectionSymbol` <!-- YAML -added: v13.4.0 +added: + - v13.4.0 + - v12.16.0 --> > Stability: 1 - captureRejections is experimental. @@ -887,7 +899,9 @@ See how to write a custom [rejection handler][rejection]. ## `events.on(emitter, eventName)` <!-- YAML -added: v13.6.0 +added: + - v13.6.0 + - v12.16.0 --> * `emitter` {EventEmitter} |