FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

doc: clarify socket destroyed behavior · nodejs/node@96b91dc · GitHub

/ node Public

Commit 96b91dc

Browse files
authored andcommitted
doc: clarify socket destroyed behavior
Signed-off-by: Dayun <dlekdbs6530@gmail.com> PR-URL: #65395 Fixes: #57367 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
1 parent 9d8d27d commit 96b91dc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎doc/api/net.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1408,15 +1408,15 @@ added: v0.1.90
14081408
* `error` {Object}
14091409
* Returns: {net.Socket}
14101410

1411-
Ensures that no more I/O activity happens on this socket.
1411+
Ensures that no more I/O activity happens on the current connection.
14121412
Destroys the stream and closes the connection.
14131413

14141414
See [`writable.destroy()`][] for further details.
14151415

14161416
### `socket.destroyed`
14171417

1418-
* Type: {boolean} Indicates if the connection is destroyed or not. Once a
1419-
connection is destroyed no further data can be transferred using it.
1418+
* Type: {boolean} Indicates if the connection is destroyed or not. No further
1419+
data can be transferred using a destroyed connection.
14201420

14211421
See [`writable.destroyed`][] for further details.
14221422

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL