Skip to main content
Module

x/proc/mod3.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.20.41/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.