Limit the number of chunks from a stream
The maximum number of chunks to pass through
A TransformStream that limits the number of chunks
const stream = readable.pipeThrough(take(3));// Only the first 3 chunks will pass through Copy
const stream = readable.pipeThrough(take(3));// Only the first 3 chunks will pass through
Limit the number of chunks from a stream