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

Usage in Deno

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

Parameters

optional
reason: any

Return Type

Promise<void>