GeezerVison is showing github.com — doc: add parentheses to function and move reference · nodejs/node@8615fa1
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: doc/api/readline.md +2-2Lines changed: 2 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -561,7 +561,7 @@ will not terminate until it receives `EOF` (<kbd>Ctrl</kbd>+<kbd>D</kbd> on |
561 | 561 | Linux/macOS, <kbd>Ctrl</kbd>+<kbd>Z</kbd> followed by <kbd>Return</kbd> on |
562 | 562 | Windows). |
563 | 563 | If you want your application to exit without waiting for user input, you can |
564 | | -[`unref`][] the standard input stream: |
| 564 | +[`unref()`][] the standard input stream: |
565 | 565 |
|
566 | 566 | ```js |
567 | 567 | process.stdin.unref(); |
@@ -901,5 +901,5 @@ const { createInterface } = require('readline'); |
901 | 901 | [`process.stdin`]: process.md#process_process_stdin |
902 | 902 | [`process.stdout`]: process.md#process_process_stdout |
903 | 903 | [`rl.close()`]: #readline_rl_close |
| 904 | +[`unref()`]: net.md#net_socket_unref |
904 | 905 | [reading files]: #readline_example_read_file_stream_line_by_line |
905 | | -[`unref`]: net.md#net_socket_unref |