WritableStreamDefaultController

Interfacein globals@fastly/js-compute 4.0.0View source

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.

Constructor

new WritableStreamDefaultController()

Methods

error(e?: any): void

Parameters

e: anyoptional

Returns

void