We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a84e95 commit b5f0578Copy full SHA for b5f0578
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