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

Usage in Deno

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

Properties

readonly
byobRequest: undefined
readonly
desiredSize: number | null

Methods

close(): void
enqueue(chunk: ArrayBufferView): void
error(error?: any): void
variable ReadableByteStreamController
`ReadableByteStreamController` class is a global reference for `import { ReadableByteStreamController } from 'node:stream/web'`. https://nodejs.org/api/globals.html#class-readablebytestreamcontroller

Type

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