Skip to main content
Version: 4.0.1

ReadableStreamDefaultController.desiredSize

The desiredSize read-only property of the ReadableStreamDefaultController interface returns the desired size required to fill the stream's internal queue.

Value​

An integer. Note that this can be negative if the queue is over-full.