fix(core): update

This commit is contained in:
2023-11-13 19:06:02 +01:00
parent bc09033af0
commit 2e1aa4a8ff
5 changed files with 7 additions and 46 deletions

View File

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