MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / pipeTo

Method pipeTo

apps/cloud/worker-configuration.d.ts:2493–2493  ·  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

2491 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/pipeTo)
2492 */
2493 pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>;
2494 /**
2495 * The **`tee()`** method of the two-element array containing the two resulting branches as new ReadableStream instances.
2496 *

Callers 2

drainResponseFunction · 0.80
drainResponseFunction · 0.80

Calls

no outgoing calls

Tested by 2

drainResponseFunction · 0.64
drainResponseFunction · 0.64