Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno/ext/web/lib.deno_web.d.ts>WritableStreamDefaultController

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface WritableStreamDefaultController
import { type WritableStreamDefaultController } from "https://deno.land/x/deno@v1.39.0/ext/web/lib.deno_web.d.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
variable WritableStreamDefaultController
import { WritableStreamDefaultController } from "https://deno.land/x/deno@v1.39.0/ext/web/lib.deno_web.d.ts";

type

{ readonly prototype: WritableStreamDefaultController; new (): never; }