| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 651ac2c commit ffc69e6
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -884,6 +884,8 @@ tracking when the socket is destroyed. To indicate this, the `.connections` | |||
| 884 | 884 | property becomes `null`. It is recommended not to use `.maxConnections` when | |
| 885 | 885 | this occurs. | |
| 886 | 886 | ||
| 887 | + *Note: this function uses [`JSON.stringify()`][] internally to serialize the `message`.* | ||
| 888 | + | ||
| 887 | 889 | ### child.stderr | |
| 888 | 890 | ||
| 889 | 891 | * {Stream} | |
@@ -978,3 +980,4 @@ to the same value. | |||
| 978 | 980 | [`options.stdio`]: #child_process_options_stdio | |
| 979 | 981 | [`stdio`]: #child_process_options_stdio | |
| 980 | 982 | [synchronous counterparts]: #child_process_synchronous_process_creation | |
| 983 | + [`JSON.stringify()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -841,6 +841,8 @@ When Node.js is spawned with an IPC channel attached, it can send messages to it | |||
| 841 | 841 | parent process using `process.send()`. Each will be received as a | |
| 842 | 842 | [`'message'`][] event on the parent's `ChildProcess` object. | |
| 843 | 843 | ||
| 844 | + *Note: this function uses [`JSON.stringify()`][] internally to serialize the `message`.* | ||
| 845 | + | ||
| 844 | 846 | If Node.js was not spawned with an IPC channel, `process.send()` will be undefined. | |
| 845 | 847 | ||
| 846 | 848 | ## process.setegid(id) | |
@@ -1096,3 +1098,4 @@ Will print something like: | |||
| 1096 | 1098 | [Signal Events]: #process_signal_events | |
| 1097 | 1099 | [Stream compatibility]: stream.html#stream_compatibility_with_older_node_js_versions | |
| 1098 | 1100 | [the tty docs]: tty.html#tty_tty | |
| 1101 | + [`JSON.stringify()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments