MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / markClosed

Function markClosed

src/utils/command.ts:155–162  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

153 let streamClosed = false;
154
155 const markClosed = (): void => {
156 if (streamClosed) {
157 return;
158 }
159 streamClosed = true;
160 openStreamCount = Math.max(0, openStreamCount - 1);
161 maybeSettleAfterExit();
162 };
163
164 const handleData = (data: Buffer | string): void => {
165 if (settled) {

Callers

nothing calls this directly

Calls 1

maybeSettleAfterExitFunction · 0.85

Tested by

no test coverage detected