| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b63fb0f commit 071fef5
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1087,14 +1087,6 @@ for (const worker of Object.values(cluster.workers)) { | |||
| 1087 | 1087 | } | |
| 1088 | 1088 | ``` | |
| 1089 | 1089 | ||
| 1090 | - Using the worker's unique id is the easiest way to locate the worker. | ||
| 1091 | - | ||
| 1092 | - ```js | ||
| 1093 | - socket.on('data', (id) => { | ||
| 1094 | - const worker = cluster.workers[id]; | ||
| 1095 | - }); | ||
| 1096 | - ``` | ||
| 1097 | - | ||
| 1098 | 1090 | [Advanced serialization for `child_process`]: child_process.md#advanced-serialization | |
| 1099 | 1091 | [Child Process module]: child_process.md#child_processforkmodulepath-args-options | |
| 1100 | 1092 | [`.fork()`]: #clusterforkenv | |
| Back | FazBrowse Home | New Git URL |
0 commit comments