Skip to content

Commit

Permalink
doc: fix second parameter name of events.addAbortListener
Browse files Browse the repository at this point in the history
Second parameter name is described as `listener`(not resource)
in below line.

PR-URL: #48922
Reviewed-By: Moshe Atlow <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Akhil Marsonya <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
  • Loading branch information
deokjinkim authored and RafaelGSS committed Aug 17, 2023
1 parent a12ce11 commit 0db104a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -1799,7 +1799,7 @@ const emitter = new EventEmitter();
setMaxListeners(5, target, emitter);
```

## `events.addAbortListener(signal, resource)`
## `events.addAbortListener(signal, listener)`

<!-- YAML
added: v20.5.0
Expand Down

0 comments on commit 0db104a

Please sign in to comment.