The Wayback Machine - https://web.archive.org/web/20230312110350/https://github.com/nodejs/node/commit/86b2c8cea2
Skip to content
Permalink
Browse files
doc: make EventEmitterAsyncResource's options as optional
Refs: https://github.com/nodejs/node/blob/main/lib/events.js#L140
PR-URL: #45985
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
  • Loading branch information
deokjinkim authored and juanarbol committed Jan 31, 2023
1 parent 3b93b0c commit 86b2c8c
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1548,7 +1548,7 @@ Promise.resolve().then(() => {
The `EventEmitterAsyncResource` class has the same methods and takes the
same options as `EventEmitter` and `AsyncResource` themselves.

### `new events.EventEmitterAsyncResource(options)`
### `new events.EventEmitterAsyncResource([options])`

* `options` {Object}
* `captureRejections` {boolean} It enables

0 comments on commit 86b2c8c

Please sign in to comment.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.