MCPcopy
hub / github.com/garrytan/gstack / nonDoneCount

Function nonDoneCount

design/src/daemon.ts:143–147  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

141}
142
143function nonDoneCount(): number {
144 let n = 0;
145 for (const b of boards.values()) if (b.state !== "done") n += 1;
146 return n;
147}
148
149function hasActiveBoards(): boolean {
150 return nonDoneCount() > 0;

Callers 6

hasActiveBoardsFunction · 0.85
idleCheckTickFunction · 0.85
handleHealthFunction · 0.85
handleIndexFunction · 0.85
handlePublishFunction · 0.85
fetchHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected