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

Method closed

out/cli.cjs:10800–10805  ·  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 reader's lock is released before the stream finishes closing.

()

Source from the content-addressed store, hash-verified

10798 * or rejected if the stream ever errors or the reader's lock is released before the stream finishes closing.
10799 */
10800 get closed() {
10801 if (!IsReadableStreamDefaultReader(this)) {
10802 return promiseRejectedWith(defaultReaderBrandCheckException("closed"));
10803 }
10804 return this._closedPromise;
10805 }
10806 /**
10807 * If the reader is active, behaves the same as {@link ReadableStream.cancel | stream.cancel(reason)}.
10808 */

Callers

nothing calls this directly

Calls 3

promiseRejectedWithFunction · 0.85

Tested by

no test coverage detected