Commit f4ca007
doc: clarify that fs streams expect blocking fd
This clarifies that fs.createReadStream and fs.createWriteStream, when
passed a fd, expects the fd to be blocking, and suggests net.Socket as
an alternative.
PR-URL: #3641
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent f29c5d6 commit f4ca007Copy full SHA for f4ca007
File tree
Expand file treeCollapse file tree
1 file changed
+4
-1
lines changedOpen diff view settings
Filter options
- doc/api
Expand file treeCollapse file tree
1 file changed
+4
-1
lines changedOpen diff view settings
Collapse file
+4-1Lines changed: 4 additions & 1 deletion
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
307 | 307 | |
308 | 308 | |
309 | 309 | |
| 310 | + |
| 311 | + |
310 | 312 | |
311 | 313 | |
312 | 314 | |
| ||
341 | 343 | |
342 | 344 | |
343 | 345 | |
344 | | - |
| 346 | + |
| 347 | + |
345 | 348 | |
346 | 349 | |
347 | 350 | |
|
0 commit comments