Skip to content

Commit 97689c6

Browse files
gowpenMylesBorins
authored andcommitted
doc: correct EventEmitter reference
PR-URL: #16791 Fixes: #16789 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 31e21e7 commit 97689c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ myEmitter.emit('event', 'a', 'b');
7777

7878
## Asynchronous vs. Synchronous
7979

80-
The `EventListener` calls all listeners synchronously in the order in which
80+
The `EventEmitter` calls all listeners synchronously in the order in which
8181
they were registered. This is important to ensure the proper sequencing of
8282
events and to avoid race conditions or logic errors. When appropriate,
8383
listener functions can switch to an asynchronous mode of operation using

0 commit comments

Comments
 (0)