MCPcopy Create free account
hub / github.com/ephraimduncan/opencode-cursor / sendDone

Function sendDone

src/proxy.ts:1169–1172  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1167 controller.enqueue(encoder.encode(`data: ${JSON.stringify(data)}\n\n`));
1168 };
1169 const sendDone = () => {
1170 if (closed) return;
1171 controller.enqueue(encoder.encode("data: [DONE]\n\n"));
1172 };
1173 const closeController = () => {
1174 if (closed) return;
1175 closed = true;

Callers 1

startFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected