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

Used by a ShutdownAwareTransformer to interact with its stream.

It behaves in the same way as a normal TransformStream Controller, except that it has a signal property. signal is an AbortSignal that triggers when the underlying stream is aborted.

Type Parameters

optional
O = unknown

Properties

readonly
signal: AbortSignal