Closed mcollina closed 7 years ago
is there any prior art on effectively/efficiently doing read(function (err, data){})
on streams across versions?
would the absence of readable.wrap be a good test to see if it's a streams1 ?
I think we can just check if it has a _readableState
.
done in the wrap method
We would need to provide an implementation also for streams 1.