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

Parameters

optional
reason: any

Return Type

Promise<void>