* Returns the desired size to fill the controlled stream's internal queue. It can be negative, if the queue is * over-full. An underlying byte source ought to use this information to determine when and how to apply backpressure.
()
| 11233 | * over-full. An underlying byte source ought to use this information to determine when and how to apply backpressure. |
| 11234 | */ |
| 11235 | get desiredSize() { |
| 11236 | if (!IsReadableByteStreamController(this)) { |
| 11237 | throw byteStreamControllerBrandCheckException("desiredSize"); |
| 11238 | } |
| 11239 | return ReadableByteStreamControllerGetDesiredSize(this); |
| 11240 | } |
| 11241 | /** |
| 11242 | * Closes the controlled readable stream. Consumers will still be able to read any previously-enqueued chunks from |
| 11243 | * the stream, but once those are read, the stream will become closed. |
nothing calls this directly
no test coverage detected