We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa5c706 commit 6af9311Copy full SHA for 6af9311
doc/api/events.md
@@ -77,7 +77,7 @@ myEmitter.emit('event', 'a', 'b');
77
78
## Asynchronous vs. Synchronous
79
80
-The `EventListener` calls all listeners synchronously in the order in which
+The `EventEmitter` calls all listeners synchronously in the order in which
81
they were registered. This is important to ensure the proper sequencing of
82
events and to avoid race conditions or logic errors. When appropriate,
83
listener functions can switch to an asynchronous mode of operation using
0 commit comments