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

x/deno/cli/js/dom_types.ts>ReadableStreamDefaultController

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface ReadableStreamDefaultController
import { type ReadableStreamDefaultController } from "https://deno.land/x/deno@v0.28.0/cli/js/dom_types.ts";

Type Parameters

optional
R = any

Properties

readonly
desiredSize: number | null

Methods

close(): void
enqueue(chunk: R): void
error(error?: any): void