Skip to main content
TransformStreamDefaultController - node__stream--web.d.ts - Node documentation
interface TransformStreamDefaultController

Usage in Deno

```typescript import { type TransformStreamDefaultController } from "node:node__stream--web.d.ts"; ```

Type Parameters

O = any

Properties

readonly
desiredSize: number | null

Methods

enqueue(chunk?: O): void
error(reason?: any): void
terminate(): void

Type Parameters

O = any
variable TransformStreamDefaultController
`TransformStreamDefaultController` class is a global reference for `import { TransformStreamDefaultController } from 'node:stream/web'`. https://nodejs.org/api/globals.html#class-transformstreamdefaultcontroller

Type

globalThis extends { onmessage: any; TransformStreamDefaultController: infer T; } ? T : stream/web