W3cubDocs

/Deno

TransformStream

interface TransformStream <I = any, O = any> {
readonly readable: ReadableStream<O>;
readonly writable: WritableStream<I>;
}
var TransformStream: {
prototype: TransformStream;
new <I = any, O = any>(
transformer?: Transformer<I, O>,
writableStrategy?: QueuingStrategy<I>,
readableStrategy?: QueuingStrategy<O>,
): TransformStream<I, O>;
}
;

Type Parameters

I = any
O = any

Properties

readonly readable: ReadableStream<O>
readonly writable: WritableStream<I>

© 2018–2021 the Deno authors
https://doc.deno.land/deno/stable/~/TransformStream