In general less, more similar code between the streams.
Change when transform streams resolve() we're now listening the to readable finish event instead of doing it before the call to _flush(). This should allow us to wait for flush to do whatever it needs to do before ending.
In general less, more similar code between the streams.
Change when transform streams
resolve()
we're now listening the to readablefinish
event instead of doing it before the call to_flush()
. This should allow us to wait for flush to do whatever it needs to do before ending.