Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 86b2c8c

Browse filesBrowse files
deokjinkimjuanarbol
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
Copy full SHA for 86b2c8c

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎doc/api/events.md‎

Copy file name to clipboardExpand all lines: doc/api/events.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.