MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / desiredSize

Method desiredSize

out/cli.cjs:14454–14460  ·  view source on GitHub ↗

* Returns the desired size to fill the readable side’s internal queue. It can be negative, if the queue is over-full.

()

Source from the content-addressed store, hash-verified

14452 * Returns the desired size to fill the readable side’s internal queue. It can be negative, if the queue is over-full.
14453 */
14454 get desiredSize() {
14455 if (!IsTransformStreamDefaultController(this)) {
14456 throw defaultControllerBrandCheckException("desiredSize");
14457 }
14458 const readableController = this._controlledTransformStream._readable._readableStreamController;
14459 return ReadableStreamDefaultControllerGetDesiredSize(readableController);
14460 }
14461 enqueue(chunk = void 0) {
14462 if (!IsTransformStreamDefaultController(this)) {
14463 throw defaultControllerBrandCheckException("enqueue");

Callers

nothing calls this directly

Tested by

no test coverage detected