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

Method closed

out/cli.cjs:12473–12478  ·  view source on GitHub ↗

* Returns a promise that will be fulfilled when the stream becomes closed, or rejected if the stream ever errors or * the writer’s lock is released before the stream finishes closing.

()

Source from the content-addressed store, hash-verified

12471 * the writer’s lock is released before the stream finishes closing.
12472 */
12473 get closed() {
12474 if (!IsWritableStreamDefaultWriter(this)) {
12475 return promiseRejectedWith(defaultWriterBrandCheckException("closed"));
12476 }
12477 return this._closedPromise;
12478 }
12479 /**
12480 * Returns the desired size to fill the stream’s internal queue. It can be negative, if the queue is over-full.
12481 * A producer can use this information to determine the right amount of data to write.

Callers

nothing calls this directly

Calls 3

promiseRejectedWithFunction · 0.85

Tested by

no test coverage detected