method ReadableStream.cancel
ReadableStream.cancel(reason?: any): Promise<void>

Parameters

optional
reason: any

Return Type

Promise<void>