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: fix typo in events.md
Signed-off-by: Darshan Sen <[email protected]>
  • Loading branch information
RaisinTen committed Jun 12, 2023
commit 01efa93a2d5ad0dbb4cc63c814330750c4d378d1
3 changes: 1 addition & 2 deletions doc/api/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -1880,8 +1880,7 @@ same options as `EventEmitter` and `AsyncResource` themselves.
* `captureRejections` {boolean} It enables
[automatic capturing of promise rejection][capturerejections].
**Default:** `false`.
* `name` {string} The type of async event. **Default::**
[`new.target.name`][].
* `name` {string} The type of async event. **Default:** [`new.target.name`][].
* `triggerAsyncId` {number} The ID of the execution context that created this
async event. **Default:** `executionAsyncId()`.
* `requireManualDestroy` {boolean} If set to `true`, disables `emitDestroy`
Expand Down