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