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

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

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

Type Parameters

optional
R = any

Properties

readonly
desiredSize: number | null

Methods

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