W3cubDocs

/Deno

ReadableStreamBYOBReader

interface ReadableStreamBYOBReader {
readonly closed: Promise<void>;
cancel(reason?: any): Promise<void>;
read<V extends ArrayBufferView>(view: V): Promise<ReadableStreamBYOBReadResult<V>>;
releaseLock(): void;
}

Properties

readonly closed: Promise<void>

Methods

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