Skip to main content
Skip to main content

ReadableStreamDefaultReader

admin/discounts.internal.ReadableStreamDefaultReader

Type parameters

RobjectRequired

Properties

closedPromise<undefined>Required

Methods

cancel

cancel(reason?): Promise<void>

Parameters

reasonany

Returns

Promise<void>

PromisePromise<void>Required

Inherited from

ReadableStreamGenericReader.cancel


read

read(): Promise<ReadableStreamDefaultReadResult<R>>

Returns

Promise<ReadableStreamDefaultReadResult<R>>

PromisePromise<ReadableStreamDefaultReadResult<R>>Required

releaseLock

releaseLock(): void

Returns

void

voidvoid
Was this section helpful?