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
[src]

§Properties

§
readonly closed: Promise<void>
[src]

§Methods

§
cancel(reason?: any): Promise<void>
[src]
§
releaseLock(): void
[src]