Skip to main content
Version: 3.27.2

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.