Skip to main content
The Deno 2 Release Candidate is here
Learn more
interface ShutdownAwareTransformStreamOptions
import { type ShutdownAwareTransformStreamOptions } from "https://deno.land/x/shutdown_aware_transform_stream@1.0.0/mod.ts";

Constructor options for ShutdownAwareTransformStream.

Type Parameters

optional
I = unknown
optional
O = unknown

Properties

optional
transformer: ShutdownAwareTransformer<I, O>

The Transformer object defining the stream's behaviour.

optional
writableStrategy: QueuingStrategy<I>

The QueuingStrategy for the writable side of the stream.

optional
readableStrategy: QueuingStrategy<O>

The QueuingStrategy for the readable side of the stream.