nx.js
Classes

ReadableStreamDefaultReader

MDN Reference

Type Parameters

Type ParameterDefault type
Rany

Implements

Constructors

new ReadableStreamDefaultReader()

new ReadableStreamDefaultReader<R>(): ReadableStreamDefaultReader<R>

Returns

ReadableStreamDefaultReader<R>

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()

MDN Reference

Returns

Promise<ReadableStreamReadResult<R>>

Implementation of

globalThis.ReadableStreamDefaultReader.read


releaseLock()

releaseLock(): void

MDN Reference

Returns

void

Implementation of

globalThis.ReadableStreamDefaultReader.releaseLock

On this page