Skip to main content
Skip to main content

ReadableStreamDefaultReader

admin/uploads.internal.ReadableStreamDefaultReader

MDN Reference

Type parameters

RobjectRequired

Properties

closedPromise<undefined>Required

Methods

cancel

cancel(reason?): Promise<void>

MDN Reference

Parameters

reasonany

Returns

Promise<void>

PromisePromise<void>Required

Inherited from

ReadableStreamGenericReader.cancel


read

read(): Promise<ReadableStreamReadResult<R>>

MDN Reference

Returns

Promise<ReadableStreamReadResult<R>>

PromisePromise<ReadableStreamReadResult<R>>Required

releaseLock

releaseLock(): void

MDN Reference

Returns

void

voidvoid
Was this section helpful?