W3cubDocs

/Deno

ReadableStreamDefaultReader

interface ReadableStreamDefaultReader <R = any> {
readonly closed: Promise<void>;
cancel(reason?: any): Promise<void>;
read(): Promise<ReadableStreamReadResult<R>>;
releaseLock(): void;
}
var ReadableStreamDefaultReader: { };

Type Parameters

R = any

Properties

readonly closed: Promise<void>

Methods

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