MCPcopy Create free account
hub / github.com/fmhy/edit / pipeTo

Method pipeTo

api/worker-configuration.d.ts:2734–2734  ·  view source on GitHub ↗

* The **`pipeTo()`** method of the ReadableStream interface pipes the current `ReadableStream` to a given WritableStream and returns a Promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered. * * [MDN Reference](https://developer.mozilla.

(
    destination: WritableStream<R>,
    options?: StreamPipeOptions
  )

Source from the content-addressed store, hash-verified

2732 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/pipeTo)
2733 */
2734 pipeTo(
2735 destination: WritableStream<R>,
2736 options?: StreamPipeOptions
2737 ): Promise<void>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected