FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

doc: make EventEmitterAsyncResource's `options` as optional · nodejs/node@86b2c8c · GitHub

/ node Public

Commit 86b2c8c

Browse files
authored andcommitted
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>
1 parent 3b93b0c commit 86b2c8c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎doc/api/events.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1548,7 +1548,7 @@ Promise.resolve().then(() => {
15481548
The `EventEmitterAsyncResource` class has the same methods and takes the
15491549
same options as `EventEmitter` and `AsyncResource` themselves.
15501550

1551-
### `new events.EventEmitterAsyncResource(options)`
1551+
### `new events.EventEmitterAsyncResource([options])`
15521552

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

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL