Closed chpio closed 5 years ago
you need to resume the content stream or pipe it somewhere
.on('entry', function (header, stream, next) {
stream.resume()
next()
})
ok, so the usage of the stream outside of the entry handler is unsupported? like passing it into another stream and consume it later?
no thats fully supported as long as you drain the stream at some point.
hmm, yeah, the problem is that "later"/"at some point" is never called if the stream is not consumed "early"
i'm not sure what you mean
hi,
i encountered a bug with this package:
gunzip-maybe
orzlib.createGunzip()
the output stops after a few file entriesextract.on('entry')
handler everything goes wellhttps://gist.github.com/chpio/6d0cedae59d8416d0aed
ohh, i don't know if it's relevant, i noticed the stops occur after a large file entry.