Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
interface WritableStreamDefaultController
import { type WritableStreamDefaultController } from "https://deno.land/x/ogone@revb3/src/ogone.dom.d.ts";

This Streams API export 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(error?: any): void