fix(core): update

This commit is contained in:
2024-02-25 20:14:19 +01:00
parent 60f9e541a5
commit 287695e445
5 changed files with 439 additions and 391 deletions

View File

@ -20,7 +20,7 @@ tap.test('should run backpressure test', async (toolsArg) => {
await new Promise((resolve) => setTimeout(resolve, 20)); // Slow processing
console.log(`processed chunk ${chunk} in stream 2`);
await tools.push(chunk);
// return chunk;
// return chunk, optionally return ;
},
}); // This stream processes data more slowly
const stream3 = new SmartDuplex({