ReadableStreamGenericReader.cancel - Web documentation
method ReadableStreamGenericReader.cancel
ReadableStreamGenericReader.cancel(reason?: any): Promise<void>

Parameters

optional
reason: any

Return Type

Promise<void>