mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
stream: remove unused ranOut from ReadableState
flag `ranOut` became unused since0f8de5e1f9, but0f8de5e1f9did not remove it. PR-URL: https://github.com/nodejs/node/pull/11139 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
committed by
Matteo Collina
parent
4897ae2114
commit
1004b9b4ad
@@ -81,10 +81,6 @@ function ReadableState(options, stream) {
|
||||
// Everything else in the universe uses 'utf8', though.
|
||||
this.defaultEncoding = options.defaultEncoding || 'utf8';
|
||||
|
||||
// when piping, we only care about 'readable' events that happen
|
||||
// after read()ing all the bytes and not getting any pushback.
|
||||
this.ranOut = false;
|
||||
|
||||
// the number of writers that are awaiting a drain event in .pipe()s
|
||||
this.awaitDrain = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user