MCPcopy Create free account
hub / github.com/chhoumann/quickadd / end

Function end

src/interactive/interactivePromptServer.test.ts:201–203  ·  view source on GitHub ↗
(payload?: string)

Source from the content-addressed store, hash-verified

199 res: {
200 writeHead() {},
201 end(payload?: string) {
202 if (payload) events.push(JSON.parse(payload));
203 },
204 on(event: string, cb: () => void) {
205 if (event === "close") closeHandler = cb;
206 },

Callers

nothing calls this directly

Calls 2

pushMethod · 0.80
parseMethod · 0.80

Tested by

no test coverage detected