---
hide_title: false
hide_table_of_contents: false
pagination_next: null
pagination_prev: null
---
# 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.
