You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
doc: fs.ReadStream and fs.WriteStream public/private clarification #40546
I know the fs.createReadSteam and fs.createWriteStream are the way to go to create streams in the fs module, but i've seen in many examples in the internet people using new fs.ReadStream and new fs.WriteStream, I believe it would be good to have a clarification in the docs if fs.ReadStream and fs.WriteStream are considered public and making new fs.ReadStream or extendig it, for example, should be considered 'legal' or if otherwise this should be private and we should never use new fs.ReadStream or new fs.WriteStream.
✍️
I would like to work on this issue and
submit a pull request.
Activity
doc: clarify fs.ReadStream and fs.WriteStream are not constructable
doc: clarify fs.ReadStream and fs.WriteStream are not constructable
doc: clarify fs.ReadStream and fs.WriteStream are not constructable
doc: clarify fs.ReadStream and fs.WriteStream are not constructable
doc: clarify fs.ReadStream and fs.WriteStream are not constructable
doc: clarify fs.ReadStream and fs.WriteStream are not constructable
doc: clarify fs.ReadStream and fs.WriteStream are not constructable
doc: clarify fs.ReadStream and fs.WriteStream are not constructable
doc: clarify fs.ReadStream and fs.WriteStream are not constructable
doc: clarify fs.ReadStream and fs.WriteStream are not constructable
doc: clarify fs.ReadStream and fs.WriteStream are not constructable