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

Function closeController

src/proxy.ts:1173–1177  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1171 controller.enqueue(encoder.encode("data: [DONE]\n\n"));
1172 };
1173 const closeController = () => {
1174 if (closed) return;
1175 closed = true;
1176 controller.close();
1177 };
1178
1179 const makeChunk = (
1180 delta: Record<string, unknown>,

Callers 1

startFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected