MCPcopy Create free account
hub / github.com/di-sukharev/opencommit / desiredSize

Method desiredSize

out/cli.cjs:11235–11240  ·  view source on GitHub ↗

* 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.

()

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Tested by

no test coverage detected