@shopify/oxygen-workers-types
    Preparing search index...

    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 {
        get signal(): AbortSignal;
        error(reason?: any): void;
    }
    Index

    Accessors

    Methods

    Accessors

    Methods

    • Parameters

      • Optionalreason: any

      Returns void