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

Method closed

out/cli.cjs:11902–11907  ·  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

11900 * the reader's lock is released before the stream finishes closing.
11901 */
11902 get closed() {
11903 if (!IsReadableStreamBYOBReader(this)) {
11904 return promiseRejectedWith(byobReaderBrandCheckException("closed"));
11905 }
11906 return this._closedPromise;
11907 }
11908 /**
11909 * If the reader is active, behaves the same as {@link ReadableStream.cancel | stream.cancel(reason)}.
11910 */

Callers

nothing calls this directly

Calls 3

promiseRejectedWithFunction · 0.85

Tested by

no test coverage detected