MCPcopy Create free account
hub / github.com/ethanniser/the-beth-stack / htmlStream

Function htmlStream

packages/beth-stack/src/elysia/index.ts:19–21  ·  view source on GitHub ↗
(lazyHtml: T)

Source from the content-addressed store, hash-verified

17 }
18
19 function htmlStream<T extends () => JSX.Element>(lazyHtml: T): Response {
20 return renderToStreamResponse(lazyHtml);
21 }
22
23 return function bethPlugin(app: Elysia) {
24 return app.decorate("html", html).decorate("htmlStream", htmlStream);

Callers

nothing calls this directly

Calls 1

renderToStreamResponseFunction · 0.90

Tested by

no test coverage detected