Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
doc: make EventEmitterAsyncResource's options as optional
  • Loading branch information
deokjinkim committed Dec 27, 2022
commit 80c23164ac4e530b3b16b67ddebf242b1298d4a0
2 changes: 1 addition & 1 deletion doc/api/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down