Skip to content

Commit d7df4df

Browse files
gowpencjihrig
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 762a11f commit d7df4df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/events.md

+1-1
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)