Skip to content

Commit

Permalink
doc: excise "periodically" before "emit events"
Browse files Browse the repository at this point in the history
"periodically" implies regular time intervals between emitted events,
but as first example, "peer connects", implies, the time intervals
may be irregular or unpredictable.

PR-URL: #20581
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
  • Loading branch information
jeswcollins authored and MylesBorins committed May 8, 2018
1 parent 4662820 commit f42d6fa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doc/api/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@

Much of the Node.js core API is built around an idiomatic asynchronous
event-driven architecture in which certain kinds of objects (called "emitters")
periodically emit named events that cause `Function` objects ("listeners") to be
called.
emit named events that cause `Function` objects ("listeners") to be called.

For instance: a [`net.Server`][] object emits an event each time a peer
connects to it; a [`fs.ReadStream`][] emits an event when the file is opened;
Expand Down

0 comments on commit f42d6fa

Please sign in to comment.