fix(core): update

This commit is contained in:
2023-11-13 21:38:12 +01:00
parent 703dc11c6c
commit 12bb125bdc
5 changed files with 13 additions and 26 deletions

View File

@@ -18,4 +18,13 @@ export function createTransformFunction<TInput, TOutput>(
});
return smartDuplexStream;
}
export const createPassThrough = () => {
return new SmartDuplex({
objectMode: true,
writeFunction: async (chunkArg, toolsArg) => {
return chunkArg;
}
})
}