nx.js
Classes

ReadableStreamBYOBReader

MDN Reference

Implements

Constructors

new ReadableStreamBYOBReader()

new ReadableStreamBYOBReader(stream): ReadableStreamBYOBReader

Parameters

ParameterType
streamReadableStream<any>

Returns

ReadableStreamBYOBReader

Properties

PropertyTypeDescription
closedPromise<undefined>MDN Reference

Methods

cancel()

cancel(reason?): Promise<void>

MDN Reference

Parameters

ParameterType
reason?any

Returns

Promise<void>

Implementation of

ReadableStreamGenericReader.cancel


read()

read<T>(view): Promise<ReadableStreamReadResult<T>>

MDN Reference

Type Parameters

Type Parameter
T extends ArrayBufferView

Parameters

ParameterType
viewT

Returns

Promise<ReadableStreamReadResult<T>>

Implementation of

globalThis.ReadableStreamBYOBReader.read


releaseLock()

releaseLock(): void

MDN Reference

Returns

void

Implementation of

globalThis.ReadableStreamBYOBReader.releaseLock

On this page