Skip to main content
Module

x/evt/lib/types/lib.dom.ts>WritableStreamDefaultController

💧EventEmitter's typesafe replacement
Go to Latest
interface WritableStreamDefaultController
import { type WritableStreamDefaultController } from "https://deno.land/x/evt@v2.3.1/lib/types/lib.dom.ts";

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(error?: any): void