Skip to content

Commit a1096a6

Browse files
Trottevanlucas
authored andcommitted
doc: simplify sentences that use "considered"
Change many instances of "x is considered to be y" to "x is y". PR-URL: #18095 Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 778d57c commit a1096a6

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

doc/api/child_process.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1124,10 +1124,10 @@ process.send({ foo: 'bar', baz: NaN });
11241124
Child Node.js processes will have a [`process.send()`][] method of their own that
11251125
allows the child to send messages back to the parent.
11261126

1127-
There is a special case when sending a `{cmd: 'NODE_foo'}` message. All messages
1128-
containing a `NODE_` prefix in its `cmd` property are considered to be reserved
1129-
for use within Node.js core and will not be emitted in the child's
1130-
[`process.on('message')`][] event. Rather, such messages are emitted using the
1127+
There is a special case when sending a `{cmd: 'NODE_foo'}` message. Messages
1128+
containing a `NODE_` prefix in the `cmd` property are reserved for use within
1129+
Node.js core and will not be emitted in the child's [`process.on('message')`][]
1130+
event. Rather, such messages are emitted using the
11311131
`process.on('internalMessage')` event and are consumed internally by Node.js.
11321132
Applications should avoid using such messages or listening for
11331133
`'internalMessage'` events as it is subject to change without notice.

doc/api/http.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ Once a socket is assigned to this request and is connected
622622
added: v0.5.9
623623
-->
624624

625-
* `timeout` {number} Milliseconds before a request is considered to be timed out.
625+
* `timeout` {number} Milliseconds before a request times out.
626626
* `callback` {Function} Optional function to be called when a timeout occurs. Same as binding to the `timeout` event.
627627

628628
Once a socket is assigned to this request and is connected

doc/api/readline.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ The `'close'` event is emitted when one of the following occur:
6060

6161
The listener function is called without passing any arguments.
6262

63-
The `readline.Interface` instance should be considered to be "finished" once
64-
the `'close'` event is emitted.
63+
The `readline.Interface` instance is finished once the `'close'` event is
64+
emitted.
6565

6666
### Event: 'line'
6767
<!-- YAML

doc/guides/maintaining-V8.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ For example, at the time of this writing:
2929
released as part of the Chromium **canary** builds. This branch will be
3030
promoted to beta next when V8 5.5 ships as stable.
3131

32-
All older branches are considered **abandoned**, and are not maintained by the
33-
V8 team.
32+
All older branches are abandoned and are not maintained by the V8 team.
3433

3534
### V8 merge process overview
3635

0 commit comments

Comments
 (0)