diff --git a/doc/api/events.md b/doc/api/events.md index 1cffb5e2d5855f..9de9e13eabffba 100644 --- a/doc/api/events.md +++ b/doc/api/events.md @@ -77,7 +77,7 @@ myEmitter.emit('event', 'a', 'b'); ## Asynchronous vs. Synchronous -The `EventListener` calls all listeners synchronously in the order in which +The `EventEmitter` calls all listeners synchronously in the order in which they were registered. This is important to ensure the proper sequencing of events and to avoid race conditions or logic errors. When appropriate, listener functions can switch to an asynchronous mode of operation using