Uh oh!
There was an error while loading. Please reload this page.
stream: add FileHandle support to Read/WriteStream - #35922
Conversation
Uh oh!
There was an error while loading. Please reload this page.
aduh95
left a comment
There was a problem hiding this comment.
I've made a few suggestions to use primordials when possible, PTAL.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
benjamingr
commented
Nov 2, 2020
Our file handles are pretty huge anyway and I am not thrilled about adding all those extra properties to them, I don't really understand the use case :/ I'm -0 but won't block (good job on the actual changes, the code itself looks good 👍 ). |
mmomtchev
commented
Nov 2, 2020
#35862 - this is the use case |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Trott
commented
Nov 13, 2020
(Needs a rebase.) |
488fa5b to
0725ed0Comparefix flaky test, tmpdir should be refreshed only in the main thread
Apply suggestions from code review Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
c231f4b to
8d0a717Comparenodejs-github-bot
commented
Dec 2, 2020
aduh95
commented
Dec 4, 2020
Landed in 0fd121e |
This comment has been minimized.
This comment has been minimized.
mmomtchev
commented
Dec 6, 2020
@ronag I don't see it? What is the function sequence? |
ronag
commented
Dec 6, 2020
@mmomtchev you are right. There is no problem here. |
PR-URL: #36435 Notable changes: * child_processes: * add AbortSignal support (Benjamin Gruenbaum) (#36308) * deps: * update ICU to 68.1 (Michaël Zasso) (#36187) * events: * support signal in EventTarget (Benjamin Gruenbaum) (#36258) * graduate Event, EventTarget, AbortController (James M Snell) (#35949) * http: * enable call chaining with setHeader() (pooja d.p) (#35924) * module: * add isPreloading indicator (James M Snell) (#36263) * stream: * support abort signal (Benjamin Gruenbaum) (#36061) * add FileHandle support to Read/WriteStream (Momtchil Momtchev) (#35922) * worker: * add experimental BroadcastChannel (James M Snell) (#36271)
Support creating a Read/WriteStream from a
FileHandle instead of a raw file descriptor
Add an EventEmitter to FileHandle with a single
'close' event
Refs: #35240
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes