MCPcopy
hub / github.com/coder/mux / resolveOnce

Method resolveOnce

src/node/services/coderService.ts:1064–1068  ·  view source on GitHub ↗
(result: CoderCommandResult)

Source from the content-addressed store, hash-verified

1062 const terminator = createGracefulTerminator(child);
1063
1064 const resolveOnce = (result: CoderCommandResult) => {
1065 if (resolved) return;
1066 resolved = true;
1067 resolve(result);
1068 };
1069
1070 const cleanup = (cleanupOptions?: { keepSigkillTimer?: boolean }) => {
1071 if (timeoutTimer) {

Callers

nothing calls this directly

Calls 1

resolveFunction · 0.70

Tested by

no test coverage detected