Interface ReadableStreamDefaultReader<R>
interface ReadableStreamDefaultReader<R> {
closed: Promise<undefined>;
cancel(reason?: any): Promise<void>;
read(): Promise<ReadableStreamReadResult<R>>;
releaseLock(): void;
}
closed: Promise<undefined>;
cancel(reason?: any): Promise<void>;
read(): Promise<ReadableStreamReadResult<R>>;
releaseLock(): void;
}
Type Parameters
Hierarchy
- ReadableStreamGenericReader
- ReadableStreamDefaultReader (view full)
Index
Properties
Methods
Methods
cancel
read
- read(): Promise<ReadableStreamReadResult<R>>
Returns Promise<ReadableStreamReadResult<R>>
MDN Reference