ReadonlybyobThe byobRequest read-only property of the ReadableByteStreamController interface returns the current BYOB request, or null if there are no pending requests.
ReadonlydesiredThe desiredSize read-only property of the ReadableByteStreamController interface returns the number of bytes required to fill the stream's internal queue to its 'desired size'.
The close() method of the ReadableByteStreamController interface closes the associated stream.
The enqueue() method of the ReadableByteStreamController interface enqueues a given chunk on the associated readable byte stream (the chunk is copied into the stream's internal queues).
The error() method of the ReadableByteStreamController interface causes any future interactions with the associated stream to error with the specified reason.
Optionale: any
The
ReadableByteStreamControllerinterface of the Streams API represents a controller for a readable byte stream.MDN Reference