pipeThrough method
The pipeThrough()
method of the ReadableStream interface provides
a chainable way of piping the current stream through a transform stream or
any other writable/readable pair.
Piping a stream will generally lock it for the duration of the pipe, preventing other readers from locking it.
Implementation
external ReadableStream pipeThrough(
ReadableWritablePair transform, [
StreamPipeOptions options,
]);