For example, if I have
readableStream.pipe(ws1).pipe(ws2).pipe(ws3)
How can I recoup this transformation chain into one function and then reuse it in another transformation chain?
I want to do the following:
var transformationChain1 = readableStream.pipe(ws1).pipe(ws2).pipe(ws3)
readableStream2.pipe(transformationChain1).pipe(endWs)
source
share