ReadonlydesiredThe desiredSize read-only property of the required to fill the stream's internal queue.
The close() method of the ReadableStreamDefaultController interface closes the associated stream.
The enqueue() method of the js-nolint enqueue(chunk) - chunk - : The chunk to enqueue.
Optionalchunk: RThe error() method of the with the associated stream to error.
Optionale: any
The
ReadableStreamDefaultControllerinterface of the Streams API represents a controller allowing control of a ReadableStream's state and internal queue.MDN Reference