Skip to main content
ReadableStreamGenericReader.cancel - stream/web - Node documentation
method ReadableStreamGenericReader.cancel

Usage in Deno

import { type ReadableStreamGenericReader } from "node:stream/web";
ReadableStreamGenericReader.cancel(reason?: any): Promise<void>

Parameters

optional
reason: any

Return Type

Promise<void>
Back to top