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

x/evt/lib/types/lib.dom.ts>ReadableStreamDefaultController

💧EventEmitter's typesafe replacement
Go to Latest
interface ReadableStreamDefaultController
import { type ReadableStreamDefaultController } from "https://deno.land/x/evt@v2.5.3/lib/types/lib.dom.ts";

Type Parameters

optional
R = any

Properties

readonly
desiredSize: number | null

Methods

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