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

Method ready

out/cli.cjs:12504–12509  ·  view source on GitHub ↗

* Returns a promise that will be fulfilled when the desired size to fill the stream’s internal queue transitions * from non-positive to positive, signaling that it is no longer applying backpressure. Once the desired size dips * back to zero or below, the getter will return a new p

()

Source from the content-addressed store, hash-verified

12502 * rejected.
12503 */
12504 get ready() {
12505 if (!IsWritableStreamDefaultWriter(this)) {
12506 return promiseRejectedWith(defaultWriterBrandCheckException("ready"));
12507 }
12508 return this._readyPromise;
12509 }
12510 /**
12511 * If the reader is active, behaves the same as {@link WritableStream.abort | stream.abort(reason)}.
12512 */

Callers

nothing calls this directly

Calls 3

promiseRejectedWithFunction · 0.85

Tested by

no test coverage detected