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

Function cancel1Algorithm

out/cli.cjs:13521–13530  ·  view source on GitHub ↗
(reason)

Source from the content-addressed store, hash-verified

13519 return promiseResolvedWith(void 0);
13520 }
13521 function cancel1Algorithm(reason) {
13522 canceled1 = true;
13523 reason1 = reason;
13524 if (canceled2) {
13525 const compositeReason = CreateArrayFromList([reason1, reason2]);
13526 const cancelResult = ReadableStreamCancel(stream4, compositeReason);
13527 resolveCancelPromise(cancelResult);
13528 }
13529 return cancelPromise;
13530 }
13531 function cancel2Algorithm(reason) {
13532 canceled2 = true;
13533 reason2 = reason;

Callers

nothing calls this directly

Calls 2

CreateArrayFromListFunction · 0.85
ReadableStreamCancelFunction · 0.85

Tested by

no test coverage detected