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

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

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

Type Parameters

OutputType

Properties

[controlledReadableStream_]: SDReadableStream<OutputType>
[pullAlgorithm_]: PullAlgorithm<OutputType>
[cancelAlgorithm_]: CancelAlgorithm
[strategySizeAlgorithm_]: QueuingStrategySizeCallback<OutputType>
[strategyHWM_]: number
[started_]: boolean
[closeRequested_]: boolean
[pullAgain_]: boolean
[pulling_]: boolean

Methods

enqueue(chunk?: OutputType): void