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.

MDN Reference

interface WritableStreamDefaultController {
    signal: AbortSignal;
    error(e?): void;
}

Properties

Methods

Properties

signal: AbortSignal

Methods

  • Parameters

    • Optional e: any

    Returns void

Generated using TypeDoc