interface ReadableStreamBYOBReader {
    closed: Promise<undefined>;
    cancel(reason?: any): Promise<void>;
    read<T extends ArrayBufferView<ArrayBufferLike>>(
        view: T,
    ): Promise<ReadableStreamReadResult<T>>;
    releaseLock(): void;
}

Hierarchy (View Summary)

Properties

Methods

Properties

closed: Promise<undefined>

Methods

  • Parameters

    • Optionalreason: any

    Returns Promise<void>

  • Returns void