fs,stream: introduce FileSystemStream
Adds a Trait (abstract class?) to group functionality of fs.ReadStream
and fs.WriteStream
.
Refs: https://github.com/nodejs/node/pull/35922#discussion_r529488239
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
/cc @mmomtchev