We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 762a11f commit d7df4dfCopy full SHA for d7df4df
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