MCPcopy
hub / github.com/di-sukharev/opencommit / _returnSteps

Method _returnSteps

out/cli.cjs:8286–8296  ·  view source on GitHub ↗
(e3)

Source from the content-addressed store, hash-verified

8284 });
8285 }
8286 _returnSteps(e3) {
8287 if (this._isFinished) return Promise.resolve({ value: e3, done: true });
8288 this._isFinished = true;
8289 const t2 = this._reader;
8290 if (void 0 === t2) return d6(k6("finish iterating"));
8291 if (this._reader = void 0, !this._preventCancel) {
8292 const r3 = t2.cancel(e3);
8293 return t2.releaseLock(), p3(r3, () => ({ value: e3, done: true }));
8294 }
8295 return t2.releaseLock(), c3({ value: e3, done: true });
8296 }
8297 };
8298 re2 = { next() {
8299 return oe(this) ? this._asyncIteratorImpl.next() : d6(ne2("next"));

Callers 1

t2Method · 0.45

Calls 6

d6Function · 0.85
k6Function · 0.85
p3Function · 0.85
c3Function · 0.85
cancelMethod · 0.45
releaseLockMethod · 0.45

Tested by

no test coverage detected