mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
doc: excise "periodically" before "emit events"
"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: https://github.com/nodejs/node/pull/20581 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
This commit is contained in:
1 parent
2f12c95954
commit
271fdf80f6
1 file changed
+1
-2
+1
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user