Skip to main content
ReadableStream.pipeTo - stream/web - Node documentation
method ReadableStream.pipeTo

Usage in Deno

import { type ReadableStream } from "node:stream/web";
ReadableStream.pipeTo(
destination: WritableStream<R>,
): Promise<void>

Parameters

destination: WritableStream<R>
optional
options: StreamPipeOptions

Return Type

Promise<void>