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

x/evt/mod.ts>dom.ReadableStreamBYOBReader

💧EventEmitter's typesafe replacement
Latest
interface dom.ReadableStreamBYOBReader
import { type dom } from "https://deno.land/x/evt@v2.5.7/mod.ts";
const { ReadableStreamBYOBReader } = dom;

Properties

readonly
closed: Promise<void>

Methods

cancel(reason?: any): Promise<void>
read<T extends ArrayBufferView>(view: T): Promise<ReadableStreamReadResult<T>>
releaseLock(): void