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

Function convertUnderlyingSourceCancelCallback

out/cli.cjs:13878–13881  ·  view source on GitHub ↗
(fn, original, context)

Source from the content-addressed store, hash-verified

13876 };
13877 }
13878 function convertUnderlyingSourceCancelCallback(fn, original, context) {
13879 assertFunction(fn, context);
13880 return (reason) => promiseCall(fn, original, [reason]);
13881 }
13882 function convertUnderlyingSourcePullCallback(fn, original, context) {
13883 assertFunction(fn, context);
13884 return (controller) => promiseCall(fn, original, [controller]);

Callers 1

Calls 2

assertFunctionFunction · 0.85
promiseCallFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…