Skip to main content
Module

x/proc/mod3.ts>transformerFromTransformStream

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Go to Latest
function transformerFromTransformStream
Re-export
import { transformerFromTransformStream } from "https://deno.land/x/proc@0.20.26/mod3.ts";

Convert a TransformStream into a TransformerFunction. Errors occurring upstream are correctly propagated through the transformation.

Parameters

transform: { writable: WritableStream<R>; readable: ReadableStream<T>; }

Returns

A transformer.