Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/cli/js/streams/readable-internals.ts>SDReadableByteStreamController

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface SDReadableByteStreamController
implements SDReadableStreamControllerBase<ArrayBufferView>, [q.ByteQueueContainer]
import { type SDReadableByteStreamController } from "https://deno.land/x/deno@v0.30.0/cli/js/streams/readable-internals.ts";

Properties

readonly
byobRequest: SDReadableStreamBYOBRequest | undefined
[autoAllocateChunkSize_]: number | undefined
[byobRequest_]: SDReadableStreamBYOBRequest | undefined
[cancelAlgorithm_]: CancelAlgorithm
[closeRequested_]: boolean
[controlledReadableByteStream_]: SDReadableStream<ArrayBufferView>
[pullAgain_]: boolean
[pullAlgorithm_]: PullAlgorithm<ArrayBufferView>
[pulling_]: boolean
[pendingPullIntos_]: PullIntoDescriptor[]
[started_]: boolean
[strategyHWM_]: number

Methods

enqueue(chunk: ArrayBufferView): void