Skip to main content
WritableStreamDefaultController - stream/web - Node documentation
interface WritableStreamDefaultController

Usage in Deno

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

This Streams API interface represents a controller allowing control of a WritableStream's state. When constructing a WritableStream, the underlying sink is given a corresponding WritableStreamDefaultController instance to manipulate.

Methods

error(e?: any): void
Back to top