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

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

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

Type Parameters

optional
R = any

Properties

readonly
closed: Promise<void>

Methods

cancel(reason?: any): Promise<void>
read(): Promise<ReadableStreamReadResult<R>>
releaseLock(): void