WritableStreamDefaultController
interface
interface WritableStreamDefaultControllerThis 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.
variable
var WritableStreamDefaultController: { … }The constructor object for WritableStreamDefaultController.
Instances are passed to a WritableStream's underlying sink
callbacks rather than constructed directly, so calling the constructor
throws.
Constructors
constructor
new WritableStreamDefaultController(): neverProperties
signal
readonly signal: AbortSignalprototype
readonly prototype: WritableStreamDefaultControllerMethods
error
error(e?: any): void