The WritableStreamDefaultController interface of the Streams API represents a controller allowing control of a WritableStream's state.
WritableStreamDefaultController
MDN Reference