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

Method callback

out/cli.cjs:54010–54016  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54008 }
54009 async [kDestroy](err) {
54010 return new Promise((resolve) => {
54011 const requests = this[kQueue].splice(this[kPendingIdx]);
54012 for (let i3 = 0; i3 < requests.length; i3++) {
54013 const request3 = requests[i3];
54014 errorRequest(this, request3, err);
54015 }
54016 const callback = () => {
54017 if (this[kClosedResolve]) {
54018 this[kClosedResolve]();
54019 this[kClosedResolve] = null;

Callers 2

onTimeoutFunction · 0.80
mockDispatchFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected