MCPcopy Create free account
hub / github.com/cloudflare/computer / pipeThrough

Method pipeThrough

examples/think/worker-configuration.d.ts:2265–2265  ·  view source on GitHub ↗

* 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. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/pipeThrough)

(transform: ReadableWritablePair<T, R>, options?: StreamPipeOptions)

Source from the content-addressed store, hash-verified

2263 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/pipeThrough)
2264 */
2265 pipeThrough<T>(transform: ReadableWritablePair<T, R>, options?: StreamPipeOptions): ReadableStream<T>;
2266 /**
2267 * 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.
2268 *

Callers 8

dropHeartbeatsFunction · 0.65
encodeExecEventsFunction · 0.65
decodeExecEventsFunction · 0.65
pipeEventsFunction · 0.65
decodeFramedEventsFunction · 0.65
decodeRuntimeFramesFunction · 0.65
decodeRuntimeEventsFunction · 0.65
transformModuleEventsFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected