Skip to main content
ReadableStreamGenericReader.cancel - Streams - Web documentation
method ReadableStreamGenericReader.cancel
Private
ReadableStreamGenericReader.cancel(reason?: any): Promise<void>

Parameters

optional
reason: any

Return Type

Promise<void>