Skip to content

Commit

Permalink
doc: correct EventEmitter reference
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
gowpen authored and cjihrig committed Nov 6, 2017
1 parent 762a11f commit d7df4df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d7df4df

Please sign in to comment.