WritableStream - Node documentation
interface WritableStream

Usage in Deno

import { type WritableStream } from "node:stream/web";

This Streams API interface provides a standard abstraction for writing streaming data to a destination, known as a sink. This object comes with built-in back pressure and queuing.

Type Parameters

W = any

Properties

readonly
locked: boolean

Methods

abort(reason?: any): Promise<void>
close(): Promise<void>