Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/proc/tools/deps/proc.ts>transformerFromTransformStream

A better way to work with processes in Deno.
Go to Latest
function transformerFromTransformStream
Re-export
import { transformerFromTransformStream } from "https://deno.land/x/proc@0.21.9/tools/deps/proc.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.