Skip to main content
WritableStream.abort - stream/web - Node documentation
method WritableStream.abort

Usage in Deno

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

Parameters

optional
reason: any

Return Type

Promise<void>