fix(core): update
This commit is contained in:
@@ -54,12 +54,11 @@ export function unbzip2Stream() {
|
||||
let counter = 0;
|
||||
return new plugins.smartstream.SmartDuplex({
|
||||
objectMode: true,
|
||||
// writableObjectMode: true,
|
||||
name: 'bzip2',
|
||||
debug: true,
|
||||
// debug: true,
|
||||
highWaterMark: 1,
|
||||
writeFunction: async function (data, streamTools) {
|
||||
console.log(`got chunk ${counter++}`)
|
||||
// console.log(`got chunk ${counter++}`)
|
||||
bufferQueue.push(data);
|
||||
hasBytes += data.length;
|
||||
if (bitReader === null) {
|
||||
|
Reference in New Issue
Block a user