Skip to content

Commit c8c76a4

Browse files
deokjinkimCeres6
authored andcommitted
doc: fix second parameter name of events.addAbortListener
Second parameter name is described as `listener`(not resource) in below line. PR-URL: nodejs#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]>
1 parent 04e4d99 commit c8c76a4

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
@@ -1803,7 +1803,7 @@ const emitter = new EventEmitter();
18031803
setMaxListeners(5, target, emitter);
18041804
```
18051805

1806-
## `events.addAbortListener(signal, resource)`
1806+
## `events.addAbortListener(signal, listener)`
18071807

18081808
<!-- YAML
18091809
added: v20.5.0

0 commit comments

Comments
 (0)