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

x/proc/mod.ts>transformerFromTransformStream

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