MCPcopy Create free account
hub / github.com/Alphanimble/htmlstream / flushResponse

Function flushResponse

demo/server/openrouter-chat.ts:158–161  ·  view source on GitHub ↗
(res: ServerResponse)

Source from the content-addressed store, hash-verified

156}
157
158function flushResponse(res: ServerResponse): void {
159 const flushable = res as ServerResponse & { flush?: () => void };
160 flushable.flush?.();
161}
162
163async function pipeOpenRouterStream(
164 res: ServerResponse,

Callers 1

writeStreamPartFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected