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

Function end

src/node/orpc/router.ts:5148–5155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5146 }
5147
5148 const end = () => {
5149 ended = true;
5150 if (resolveNext) {
5151 const resolve = resolveNext;
5152 resolveNext = null;
5153 resolve(null);
5154 }
5155 };
5156
5157 return { push, iterate, end };
5158 })();

Callers 3

abortFunction · 0.50
createMockORPCClientFunction · 0.50
runChatSubscriptionMethod · 0.50

Calls 1

resolveFunction · 0.50

Tested by

no test coverage detected