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

Function pipeLoop

out/cli.cjs:13079–13090  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13077 signal.addEventListener("abort", abortAlgorithm);
13078 }
13079 function pipeLoop() {
13080 return newPromise((resolveLoop, rejectLoop) => {
13081 function next(done) {
13082 if (done) {
13083 resolveLoop();
13084 } else {
13085 PerformPromiseThen(pipeStep(), next, rejectLoop);
13086 }
13087 }
13088 next(false);
13089 });
13090 }
13091 function pipeStep() {
13092 if (shuttingDown) {
13093 return promiseResolvedWith(true);

Callers 1

ReadableStreamPipeToFunction · 0.85

Calls 2

newPromiseFunction · 0.85
nextFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…