-
-
Notifications
You must be signed in to change notification settings - Fork 35.8k
stream: update comment for needMoreDataΒ #19695
Copy link
Copy link
Closed
Labels
good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.streamIssues and PRs related to the stream subsystem.Issues and PRs related to the stream subsystem.
Metadata
Metadata
Assignees
Labels
good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.streamIssues and PRs related to the stream subsystem.Issues and PRs related to the stream subsystem.
Type
Fields
Give feedbackNo fields configured for issues without a type.
node/lib/_stream_readable.js
Lines 304 to 315 in d37e59f
Specifically it states:
I think that comment is actually wrong. It says
However it has a check (simplified) as:
Which will return
trueif we are below the watermark.This would be a good issue for someone willing to learn more about streams.