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

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.


error(error?: any): void
variable WritableStreamDefaultController


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