Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/windmill/node_modules/evt/lib/types/lib.dom.d.ts>GenericTransformStream

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
interface GenericTransformStream
import { type GenericTransformStream } from "https://deno.land/x/windmill@v1.333.5/node_modules/evt/lib/types/lib.dom.d.ts";

Properties

readonly
readable: ReadableStream

Returns a readable stream whose chunks are strings resulting from running encoding's decoder on the chunks written to writable.

readonly
writable: WritableStream

Returns a writable stream which accepts [AllowShared] BufferSource chunks and runs them through encoding's decoder before making them available to readable.

Typically this will be used via the pipeThrough() method on a ReadableStream source.

var decoder = new TextDecoderStream(encoding);
byteReadable
  .pipeThrough(decoder)
  .pipeTo(textWritable);

If the error mode is "fatal" and encoding's decoder returns error, both readable and writable will be errored with a TypeError.